Problem with UNICODE, VC6 & PocketFrog's loadimage again
Posted: Jan 17, 2007 @ 1:25pm
i built VC6 project with UNICODE definition and
got a linker error coming from PocketFrog:
error LNK2001: unresolved external symbol "class Frog::Surface * __cdecl Frog::LoadImageW...
i added to image.h and image.cpp a function with
another name:
//image.h
Surface* LapLoadImage( const TCHAR* filename );
//image.cpp
Surface* LapLoadImage( const TCHAR* filename )
{
Internal::MemoryFile file( filename );
if (!file.IsOpen())
return 0;
return DecompressImage( file.begin(), file.end() );
}
and rebuilt PocketFrog_x86_Debug.lib.
i built my project again with Frog::LapLoadImage insted of Frog::LoadImage and
got a linker error:
error LNK2001: unresolved external symbol "class Frog::Surface * __cdecl Frog::LapLoadImage(unsigned short const *)...
Why??!!
Help please!!!
got a linker error coming from PocketFrog:
error LNK2001: unresolved external symbol "class Frog::Surface * __cdecl Frog::LoadImageW...
i added to image.h and image.cpp a function with
another name:
//image.h
Surface* LapLoadImage( const TCHAR* filename );
//image.cpp
Surface* LapLoadImage( const TCHAR* filename )
{
Internal::MemoryFile file( filename );
if (!file.IsOpen())
return 0;
return DecompressImage( file.begin(), file.end() );
}
and rebuilt PocketFrog_x86_Debug.lib.
i built my project again with Frog::LapLoadImage insted of Frog::LoadImage and
got a linker error:
error LNK2001: unresolved external symbol "class Frog::Surface * __cdecl Frog::LapLoadImage(unsigned short const *)...
Why??!!
Help please!!!