[mythtv] Ticket #4702: Win32 configuration patches

Andrei Tanas andrei at tanas.ca
Thu Jul 3 18:09:03 UTC 2008


> Comment(by nigel):
> 
>  The stuff to redirect the console output will be needed later, but I
>  wanted to do it some different way (e.g. if invoked from a DOS shell,
> to
>  still generate the output instead of always writing to a logfile)

Do you have an idea how to do this? In Windows, console and gui are different subsystems, executables have a flag in PE header, if it's marked as gui, Windows will not allocate a console and stdin/stdout handler will not be initialized. It is possible to start as gui and then allocate console at run time, but this will create a new console window, as far as I know.



More information about the mythtv-dev mailing list