Migration a project from visual studio 6.0 to 2008 problem

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hello,

I opened 6.0 project in visual studio 2008. I got below link error related
to a .lib file:

ZipArchive.lib(ZipArchive.obj) : error LNK2019: unresolved external symbol
"public: class CString __thiscall CString::Left(int)const "
(?Left@CString@@QBE?AV1@H@Z) referenced in function "public: static bool
__cdecl CZipArchive::RemovePathBeginning(char const *,class CString &,int
(__thiscall CString::*)(char const *)const )"
(?RemovePathBeginning@CZipArchive@@SA_NPBDAAVCString@@P82@BEH0@Z@Z)

I verified settings for the linker, and can't see anything wrong. Please
help!!!

Mike
 
Mike said:
Hello,

I opened 6.0 project in visual studio 2008. I got below link error related
to a .lib file:

ZipArchive.lib(ZipArchive.obj) : error LNK2019: unresolved external symbol
"public: class CString __thiscall CString::Left(int)const "
(?Left@CString@@QBE?AV1@H@Z) referenced in function "public: static bool
__cdecl CZipArchive::RemovePathBeginning(char const *,class CString &,int
(__thiscall CString::*)(char const *)const )"
(?RemovePathBeginning@CZipArchive@@SA_NPBDAAVCString@@P82@BEH0@Z@Z)

I verified settings for the linker, and can't see anything wrong. Please
help!!!

Mike:

Was this .lib compiled with VC6? If so you are going to have to recompile it.
 
Back
Top