Using sdl with MFC

hi all,

is it possible to use sdl with MFC ?
sdl require a main() function but MFC doesnt have main() at all

if yes, can anyone give me a simple demo on how to do it ?
thx a lot~

regards,
lok

i think it will work, but you’ll have to write your own WinMain function and
initialize a lot of stuff, sdl usual inits for you (and don’t include
sdl_main.lib).

but you would kill the portability of your programm if you use mfc.> ----- Original Message -----

From: cs01ckla@alumni.ust.hk (lok)
To:
Sent: Monday, July 07, 2003 12:20 PM
Subject: [SDL] using sdl with MFC

hi all,

is it possible to use sdl with MFC ?
sdl require a main() function but MFC doesnt have main() at all

if yes, can anyone give me a simple demo on how to do it ?
thx a lot~

regards,
lok


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl