[SDL] stdout.txt and stderr.txt

Simon Gornall simon at unique-id.com
Sat Apr 1 09:06:03 PST 2000


Andrew Shakinovsky wrote:
> 
> In Win32 it redirects the output to a file in the WinMain function. You
> should be able to redirect it back to stdout by doing a freopen with "CON"
> as the file eg:
> freopen( "CON", "w", stdout );

I'm having the same problem under winNT 4. I tried the above, but no joy
(I also tried "CON:" because of (very) vague memories of device names :-)

Does NT have a different name for the console ?

ATB,	
Simon.



More information about the SDL mailing list