Hi
I have already used GapiDraw in Visual Studio 6 for some time with no problems, but now I came to a problem while dealing with Unicode.
Instead of using ASCII strings and then converting to unicode so they could be used, I now #defined UNICODE and _UNICODE, and changed everything to TCHARs.
The compiling gives no errors, but the linker says things like this:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall CGapiSurface::CreateSurface(unsigned long,unsigned short const *)" (__imp_?CreateSurface@CGapiSurface@@QAEJKPBG@Z) referenced in function "long __cdecl safeLoadImage(class CGapiSurface *,unsigned short *)" (?safeLoadImage@@YAJPAVCGapiSurface@@PAG@Z)
Could anyone give me some help with this?
I have already used GapiDraw in Visual Studio 6 for some time with no problems, but now I came to a problem while dealing with Unicode.
Instead of using ASCII strings and then converting to unicode so they could be used, I now #defined UNICODE and _UNICODE, and changed everything to TCHARs.
The compiling gives no errors, but the linker says things like this:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall CGapiSurface::CreateSurface(unsigned long,unsigned short const *)" (__imp_?CreateSurface@CGapiSurface@@QAEJKPBG@Z) referenced in function "long __cdecl safeLoadImage(class CGapiSurface *,unsigned short *)" (?safeLoadImage@@YAJPAVCGapiSurface@@PAG@Z)
Could anyone give me some help with this?