David Wright
8/15/2007 4:35:00 AM
Can anyone help me?
With the CLR switch off my projects compile and link fine but with it on
some classes defined in one dll are not linkable to another dll? I have
project dependencies set as well between the projects. Is there something
more to do? It is as though the classes are not being exported from the 1st
dll?
Sample link errors below...
INTERNAT.obj : error LNK2028: unresolved token (0A0003E2) "public: void
__thiscall CString::to_upper(void)" (?to_upper@CString@@$$FQAEXXZ)
referenced in function "public: class CString __thiscall
TInternational::intlTime(class CString const &,bool,bool)"
(?intlTime@TInternational@@$$FQAE?AVCString@@ABV2@_N1@Z)
INTERNAT.obj : error LNK2028: unresolved token (0A0003E3) "public: void
__thiscall CString::to_lower(void)" (?to_lower@CString@@$$FQAEXXZ)
referenced in function "public: class CString __thiscall
TInternational::intlTime(class CString const &,bool,bool)"
(?intlTime@TInternational@@$$FQAE?AVCString@@ABV2@_N1@Z)
WINCURR.obj : error LNK2028: unresolved token (0A0003D9) "public: class
CString & __thiscall CString::operator=(class CString const &)"
(??4CString@@$$FQAEAAV0@ABV0@@Z) referenced in function "unsigned int
__cdecl makecurrency(char *,unsigned int,char *,char *,int,int,int,int,char
const *,char const *,char const *)" (?makecurrency@@$$FYAIPADI00HHHHPBD11@Z)
INTERNAT.obj : error LNK2028: unresolved token (0A0003E4) "public: class
CString & __thiscall CString::operator=(class CString const &)"
(??4CString@@$$FQAEAAV0@ABV0@@Z) referenced in function "public: class
TInternational & __thiscall TInternational::operator=(class TInternational
const &)" (??4TInternational@@$$FQAEAAV0@ABV0@@Z)
INTERNAT.obj : error LNK2028: unresolved token (0A000C5D) "public: class
CString __thiscall CString::strip(enum CString::StripType,char)"
(?strip@CString@@$$FQAE?AV1@W4StripType@1@D@Z) referenced in function
"public: class CString __thiscall TInternational::time(class CString const
&,bool)" (?time@TInternational@@$$FQAE?AVCString@@ABV2@_N@Z)
INTERNAT.obj : error LNK2019: unresolved external symbol "public: virtual
__thiscall CString::~CString(void)" (??1CString@@$$FUAE@XZ) referenced in
function "class CString __cdecl operator+(class CString const &,class
CString const &)" (??H@$$FYA?AVCString@@ABV0@0@Z)
WINCURR.obj : error LNK2001: unresolved external symbol "public: virtual
__thiscall CString::~CString(void)" (??1CString@@$$FUAE@XZ)
INTERNAT.obj : error LNK2019: unresolved external symbol "public: __thiscall
CString::CString(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(??0CString@@$$FQAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function "class CString __cdecl operator+(class CString const
&,class CString const &)" (??H@$$FYA?AVCString@@ABV0@0@Z)
Thanks in advance
dave
:-*)