ATL link error problem

  • Thread starter Thread starter Jun
  • Start date Start date
J

Jun

anyone know how this error shows?
how can i solve this?

LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule
LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral
LINK : error LNK2020: unresolved token (0A0000ED)
?s_trace@CTrace@ATL@@2V12@A
LINK : fatal error LNK1120: 3 unresolved externals

thanks in advance.
 
i include the msvcrtd.lib
after solving this,... got me new problem :(


LagurClass.obj : error LNK2019: unresolved external symbol "void __stdcall
_com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function
"void __cdecl _com_util::CheckError(long)" (?CheckError@_com_util@@YAXJ@Z)

LagurClass.obj : error LNK2019: unresolved external symbol "unsigned short *
__stdcall _com_util::ConvertStringToBSTR(char const *)"
(?ConvertStringToBSTR@_com_util@@YGPAGPBD@Z) referenced in function "public:
__thiscall _bstr_t::Data_t::Data_t(char const *)"
(??0Data_t@_bstr_t@@QAE@PBD@Z)

LagurClass.obj : error LNK2019: unresolved external symbol "char * __stdcall
_com_util::ConvertBSTRToString(unsigned short *)"
(?ConvertBSTRToString@_com_util@@YGPADPAG@Z) referenced in function "public:
char const * __thiscall _bstr_t::Data_t::GetString(void)const "
(?GetString@Data_t@_bstr_t@@QBEPBDXZ)
 
solved

Jun said:
i include the msvcrtd.lib
after solving this,... got me new problem :(


LagurClass.obj : error LNK2019: unresolved external symbol "void __stdcall
_com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function
"void __cdecl _com_util::CheckError(long)" (?CheckError@_com_util@@YAXJ@Z)

LagurClass.obj : error LNK2019: unresolved external symbol "unsigned short
* __stdcall _com_util::ConvertStringToBSTR(char const *)"
(?ConvertStringToBSTR@_com_util@@YGPAGPBD@Z) referenced in function
"public: __thiscall _bstr_t::Data_t::Data_t(char const *)"
(??0Data_t@_bstr_t@@QAE@PBD@Z)

LagurClass.obj : error LNK2019: unresolved external symbol "char *
__stdcall _com_util::ConvertBSTRToString(unsigned short *)"
(?ConvertBSTRToString@_com_util@@YGPADPAG@Z) referenced in function
"public: char const * __thiscall _bstr_t::Data_t::GetString(void)const "
(?GetString@Data_t@_bstr_t@@QBEPBDXZ)
 
Back
Top