Re(2): Re: [SDL] stdout.txt and stderr.txt

vining at vining at
Wed Apr 5 12:18:06 PDT 2000

>I used to develop all my Win32/DX applications as console applications to
>get quick and dirty stderr messages while debugging. Another benefit is
>that you also can get rid of WinMain() and just use main(). I don't know
>what is the difference really is between a Console/Win32 app, but had
>absolutely no problems compiling/running DX apps as a console app. As far
>as I can remember (have been using SDL and not Win32/DX directly for quite
>a while now), you just have to retrieve a couple values (HWND is one I
>think) with calls to the Windows API since these values are not passed to
>WinMain anymore. I can post the code if anyone is interested.

Go for it. This calls for further experimentation.



More information about the SDL mailing list