[SDL] SDL and MFC

Carlos Alvarez citrouille at wanadoo.fr
Mon Jan 10 07:24:03 PST 2005


Yes you can use SDL within MFC project.

Did you set the projet as a Multithreaded DLL project (Multithreaded Debug
DLL for debug configuration) ?

cya
Carlos


----- Original Message -----
From: "Jeremie" <jeremie.cretegny at cpnv.ch>
To: <sdl at libsdl.org>
Sent: Monday, January 10, 2005 10:39 AM
Subject: [SDL] SDL and MFC


> Hello,
> I try to use SDL with MS-Visual C++ and MFC.
>
> When I compile the project, I have an unresolved external symbol for the
main
> function.
>
> The problem is that SDL will a main function and the main function is a
"hidden
> function" from MFC...
>
> How Can I use MFC AND SDL in the same project???????
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>





More information about the SDL mailing list