[SDL] is SDL supposed to be using WinMain?

malik martin laserbeak43 at gmail.com
Fri Sep 7 13:49:26 PDT 2007


oh ok. so "all" or maybe most windows programs need this

On 9/7/07, Paul Duffy <odubtaig at yahoo.co.uk> wrote:
> 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
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>


More information about the SDL mailing list