VC++6 to VC++2003 - linking troubles
--------------------------------------------------------------------------------
Hi All,
I successfully ported an application from VC++6 to VS2003.
Solved compiling issues but now I am sticking with serious Linking troubles.
I got a bunch of:
SgmTestUtil error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall CSgm2500::GetEepromString(unsigned char,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > *)" (__imp_?GetEepromString@CSgm2500@@QAEHEPAV?$CStrin gT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@A TL@@@Z)
I tried to rebuild the dll in VS2003 (it was developed by my company so I have access to the source), in debug and release, so I used the new dlls and it worked just fine for the release mode (errors are gone and app runs), but I CAN'T make them disappear in debug mode.
I am new to application porting and DLLs so I don't exactly where to look for an answer. Probably the debug dll is in some way different from the other one, but the source is the same, so dunno what to think.
Any hint?
Thanks in advance for your help,
Giovanni