Migration a project from visual studio 6.0 to 2008 problem

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
 
D

David Wilkinson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top