[MPlayer-cygwin] Re: Mplayer win32 GUI questions

Erik Lunchpail erik_27can at yahoo.com
Tue Dec 6 18:08:35 CET 2005


 > I've rewritten it for MingW recently.  Haven't
> published any such thing 
> yet, as I discovered the correct way at work.
> Here:
>   AllocConsole();
>   freopen ("CONOUT$", "w", stdout);
>   freopen ("CONIN$", "r", stdin);
> This is all you need to open a console window and
> redirect those handles.

Yeah I had tried that as well. stdout and stderr
worked fine, but I had problems with that method with
stdin. It expected input before doing anything else.

Regards,
Erik


	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca




More information about the MPlayer-cygwin mailing list