Page 1 of 1

Help: blit sample & VS2005

PostPosted: Jan 13, 2007 @ 10:59am
by l.rosenberg
I've read this tutorial http://www.pocketmatrix.com/forums/view ... light=2005
and I've rebuild with VS2005 PocketFrog with success, but when build the blit example

I get the follwing error:

Error 1 error LNK2019: unresolved external symbol "class Frog::Surface * __cdecl Frog::LoadImageW(unsigned int,wchar_t const *,struct HINSTANCE__ *)" (?LoadImageW@Frog@@YAPAVSurface@1@IPB_WPAUHINSTANCE__@@@Z) referenced in function "public: virtual bool __cdecl BlitSample::GameInit(void)" (?GameInit@BlitSample@@UAA_NXZ) blit.obj


Why?

Can you help me?


Thanks

PostPosted: Jan 14, 2007 @ 5:11pm
by PsychoChris
You have to set the UNICODE define in your project settings under the preprocessor settings. I think currently you're using MBCS. You find more information on this if you search for unicode problems in this forum.

Greetings,
Chris