Linker error when using VC7

  • Thread starter Thread starter Deepa via .NET 247
  • Start date Start date
D

Deepa via .NET 247

(Type your message here)
Hi,
My app (DLL) that was developed in VC6 is using ddao35u.lib toaccess the Access Database.
When I try to build the same DLL using VC7 I get the followinglinker error.
Any pointers on how to resolve this?
Thanks!
Deepa


error LNK2019: unresolved external symbol "public: classATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsignedshort,class ATL::ChTraitsCRT<unsigned short> > > __thiscallCdbLastOLEError::GetDescription(void)"(?GetDescription@CdbLastOLEError@@QAE?AV?$CStringT@GV?$StrTraitMFC_DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@XZ)
 
Does your DLL require any registration? If so may be you should re-register
it?
regsvr32 /u [your dll name]
regsvr32 [your dll name]

Not sure whether this helps.

(Type your message here)
Hi,
My app (DLL) that was developed in VC6 is using ddao35u.lib to access the
Access Database.
When I try to build the same DLL using VC7 I get the following linker error.
Any pointers on how to resolve this?
Thanks!
Deepa


error LNK2019: unresolved external symbol "public: class
ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class
ATL::ChTraitsCRT<unsigned short> > > __thiscall
CdbLastOLEError::GetDescription(void)"
(?GetDescription@CdbLastOLEError@@QAE?AV?$CStringT@GV?$StrTraitMFC_DLL@GV?$C
hTraitsCRT@G@ATL@@@@@ATL@@XZ)
 
When I had a problem linking on a CString, it was because I was not
linking in the foillowing libraries:

mfc71d.lib
mfcs71d.lib

Make sure that these are being included in your link path. You can
manually specify them from Linker->Input->Additional dependencies.

- Doug
 
Back
Top