[SDL] is SDL supposed to be using WinMain?

Paul Duffy odubtaig at yahoo.co.uk
Fri Sep 7 13:41:34 PDT 2007


On Fri, 2007-09-07 at 05:00 -0400, malik martin wrote:
> Hi there,
> i'm using some code that works with SDL and i get an exception at
> runtime that i'm trying to debug. i'm very new to the debugger and am
> learning by trial and error in visual studio 2005 as we speak.
> 

Last time I used it you needed to include windows.h, in MinGW you need
to link with -lmingw at the start of the list or you get errors about
winmain. Either way, it seems to be a requirement for Windows programs.


		
___________________________________________________________ 
Yahoo! Messenger - with free PC-PC calling and photo sharing. http://uk.messenger.yahoo.com


More information about the SDL mailing list