shouldn't include SDLmain.lib when using a MFC application. It could well be something related to that though! Neil.