469,625 Members | 1,089 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

VC++6 to VC++2003 - linking troubles

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
Aug 10 '07 #1
0 1229

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Harry Whitehouse | last post: by
2 posts views Thread by Harry Whitehouse | last post: by
14 posts views Thread by Jeffrey Baker | last post: by
2 posts views Thread by pmbcan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.