[SDL] Why do I need a WinMain() if I include <windows.h> under cygwin but not if I use MSVC?
Eric Lilja
mindcooler at gmail.com
Fri Nov 3 15:31:56 PST 2006
As the topic says...if I include <windows.h> in my SDL program written
in C++ I need to replace main() with WinMain() for the linker to link
if I'm compiling under cygwin (using mingw sdl binaries). However, if
I use the same code in SDL with MSVC++ it works with main(). This
annoying and it would be nice to solve it.
/ E
More information about the SDL
mailing list