[MPlayer-cygwin] Re: Mplayer win32 GUI questions
Joey Parrish
joey at nicewarrior.org
Tue Dec 6 18:23:53 CET 2005
Erik Lunchpail wrote:
>> 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.
>
>
Are you saying that for you, the second freopen call I gave actually
blocked for input?
--Joey
More information about the MPlayer-cygwin
mailing list