I am migrating my code from VC6 to VS2010
Please help me to get rid of from below error.
LogisticsD.lib(ADODatabase.obj) : error LNK2001: unresolved external symbol "public: __thiscall CString::~CString(void)" (??1CString@@QAE@XZ)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: __thiscall CString::CString(char const *)" (??0CString@@QAE@PBD@Z) referenced in function "public: __thiscall ADOConnection::ADOConnection(char const *)" (??0ADOConnection@@QAE@PBD@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: void __cdecl CString::Format(char const *,...)" (?Format@CString@@QAAXPBDZZ) referenced in function "public: __thiscall ADOConnection::ADOConnection(char const *)" (??0ADOConnection@@QAE@PBD@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: __thiscall CString::CString(void)" (??0CString@@QAE@XZ) referenced in function "public: __thiscall ADOConnection::ADOConnection(char const *)" (??0ADOConnection@@QAE@PBD@Z)
7>LogisticsD.lib(ADODatabase.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::_bstr_t(char const *)" (??0_bstr_t@@QAE@PBD@Z)
7>LogisticsD.lib(ADODatabase.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@alrt _t@_bstr_t@@QBEPBDXZ)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: __thiscall CString::CString(class CString const &)" (??0CString@@QAE@ABV0@@Z) referenced in function "public: virtual class CString __thiscall ADOException::GetErrorMessage(void)const " (?GetErrorMessage@ADOException@@ube ?AVCString@@XZ)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: class CString & __thiscall CMapStringToString::operator[](char const *)" (??ACMapStringToString@@QAEAAVCString@@PBD@Z) referenced in function "public: virtual void __thiscall ADOCommand::SetParameter(char const *,char const *)" (?SetParameter@ADOCommand@@UAEXPBD0@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator=(class CString const &)" (??4CString@@QAEABV0@ABV0@@Z) referenced in function "public: virtual void __thiscall ADOCommand::SetParameter(char const *,char const *)" (?SetParameter@ADOCommand@@UAEXPBD0@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "class CString __stdcall operator+(class CString const &,char const *)" (??H@YG?AVCString@@ABV0@PBD@Z) referenced in function "public: virtual void __thiscall ADOCommand::SetParameter(char const *,char const *)" (?SetParameter@ADOCommand@@UAEXPBD0@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "class CString __stdcall operator+(char const *,class CString const &)" (??H@YG?AVCString@@PBDABV0@@Z) referenced in function "public: virtual void __thiscall ADOCommand::SetParameter(char const *,char const *)" (?SetParameter@ADOCommand@@UAEXPBD0@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: int __thiscall CString::Replace(char const *,char const *)" (?Replace@CString@@QAEHPBD0@Z) referenced in function "public: virtual void __thiscall ADOCommand::SetParameter(char const *,char const *)" (?SetParameter@ADOCommand@@UAEXPBD0@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: class CString __thiscall COleDateTime::Format(char const *)const " (?Format@COleDateTime@@QBE?AVCString@@PBD@Z) referenced in function "public: virtual void __thiscall ADOCommand::SetParameter(char const *,class COleDateTime)" (?SetParameter@ADOCommand@@UAEXPBDVCOleDateTime@@@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: void __thiscall CMapStringToString::GetNextAssoc(struct __POSITION * &,class CString &,class CString &)const " (?GetNextAssoc@CMapStringToString@@QBEXAAPAU__POSITION@@AAVCString@@1@Z) referenced in function "private: class CString __thiscall ADOCommand::ReplaceParameters(void)" (?ReplaceParameters@ADOCommand@@0xAAE ?AVCString@@XZ)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: class CString const & __thiscall CString::operator=(char const *)" (??4CString@@QAEABV0@PBD@Z) referenced in function "public: virtual class CString __thiscall ADOCommand::ExecuteScalar(void)" (?ExecuteScalar@ADOCommand@@UAE ?AVCString@@XZ)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: class COleDateTime const & __thiscall COleDateTime::operator=(struct tagVARIANT const &)" (??4COleDateTime@@QAEABV0@ABUtagVARIANT@@@Z) referenced in function "public: virtual class COleDateTime __thiscall ADOCommandEx::GetParameterDateTime(char const *)" (?GetParameterDateTime@ADOCommandEx@@UAE ?AVCOleDateTime@@PBD@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: int __thiscall COleDateTime::ParseDateTime(char const *,unsigned long,unsigned long)" (?ParseDateTime@COleDateTime@@QAEHPBDKK@Z) referenced in function "public: virtual class COleDateTime __thiscall ADOReader::GetDateTime(int)" (?GetDateTime@ADOReader@@UAE ?AVCOleDateTime@@H@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: void __thiscall CString::ReleaseBuffer(int)" (?ReleaseBuffer@CString@@QAEXH@Z) referenced in function "public: virtual void __thiscall ADOCommandEx::AddParameter(char const *,class _variant_t &,enum DBDataType,enum DBParamDirection)" (?AddParameter@ADOCommandEx@@UAEXPBDAAV_variant_t@@W4DBDataType@@W4DBParamDirection@@@Z)
7>LogisticsD.lib(ADODatabase.obj) : error LNK2019: unresolved external symbol "public: char * __thiscall CString::GetBuffer(int)" (?GetBuffer@CString@@QAEPADH@Z) referenced in function "public: virtual void __thiscall ADOCommandEx::AddParameter(char const *,class _variant_t &,enum DBDataType,enum DBParamDirection)" (?AddParameter@ADOCommandEx@@UAEXPBDAAV_variant_t@@W4DBDataType@@W4DBParamDirection@@@Z)