[SDL] Developing a standalone EXE in VC++ with SDL - possible?

Peter Mackay mackay.pete+sdl at gmail.com
Mon Jan 28 13:39:06 PST 2008


It's quite possible to build an exe which behaves in this way using
VC++ 2005 Express (I've not updated to 2008 yet) by using the non-DLL
(static) runtime libraries and including SDL_win32_main.c in your
project instead of SDLmain.lib.

I'd be really surprised if it couldn't be done in the same way with 2008.

Another Peter

On 28/01/2008, Peter Ketting <peterketting at sysmatrix.net> wrote:
> <snip>
>
> > Thanks for the help!
>
>
> Another way to bypass all the microsoft dependencies is to compile the
> finish project using MingW32, which is what I do. Produces a pretty small
> executable and still uses sdl.dll without having to muck about with anything
> else really. Works like a charm.
>
> Cheers,
> Peter
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>


More information about the SDL mailing list