PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Help: blit sample & VS2005

l.rosenberg · 13 Jan 2007, 09:59 UTC
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
PsychoChris · 14 Jan 2007, 16:11 UTC
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