[SDL] Re: Can't get SDL to work with VC++ Express 2005 Beta
Ignacio Castaño
castanyo at yahoo.es
Mon Aug 2 19:08:23 PDT 2004
On Monday 02 August 2004 17:14, Kevin Watters wrote:
> Just wanted to remind the list that this is still a problem :( ...the
> latest Visual Studio _doesn't_ create working SDL programs. The obscure
> assert that exits a program on start indicated in this thread seems to
> point to the new Runtime with VC8...anyone have any fixes for this yet?
I experienced the same problem, removed the dependancies with SDLmain, added
the following lines:
#pragma comment(linker,"/ENTRY:mainCRTStartup")
#pragma comment(linker,"/SUBSYSTEM:WINDOWS")
and after that my program worked fine. So, it should be a problem with
SDLmain, but I have no idea what it is.
--
Ignacio Castaño
castanyo at yahoo.es
More information about the SDL
mailing list