Hi guys. Please help
In brief, I am upgrading a project of 30+ projects and 10+ libraries from VC++ 6.0 to VC++ 2010.
In one of the DLLs, during debuging, I got link error as cannot open mfc42d.lib;mfcs42d, mfco42d, msvcirtd.lib, mfc42.lib. I ignored them using linker->input->ignore specific libraries since, as I heard and read, they have been replaced by other libraries in VC++ 2010, but I dont know what they are.
The odd thing is that when I add the PlayerProfile.lib using linker->input->additional dependencies and the path in linker->general->additioinal library dependecies, I get link errors (see below). However, when I use project->add>add existing item->PlayerProfile.lib and the path to linker->general->additioinal library dependecies, it works well, but causes problems when switching to release.
errors:
Error 29 error LNK2019: unresolved external symbol "public: void __thiscall CString::Empty(void)" (?Empty@CString@@QAEXXZ) referenced in function "class CString __cdecl GetToken(class CString &)" (?GetToken@@YA?AVCString@@AAV1@@Z)
Error 12 error LNK2019: unresolved external symbol "public: class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > __thiscall CDplayer::GetpENG(void)" (?GetENG@CDplayer@@QAE?AV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@XZ) referenced in function "protected: virtual unsigned short __thiscall CDExtendedplayer::DloadLimitLine(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >)" (?DloadLimitLine@CDExtendedplayer@@MAEGV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z)
What is wrong and what should I do??
Your help is greatly appreciated
Thanks in advance