error LNK2001: 无法解析的外部符号 __imp___mbscmp
VS2005的代码在vs2010中转换后运行,有8个无法解析的外部符号:
3dChartView.obj : error LNK2019: 无法解析的外部符号 __imp___mbsrchr,该符号在函数 __tcsrchr 中被引用
1>BarChart.obj : error LNK2019: 无法解析的外部符号 __imp___mbscmp,该符号在函数 "public: static int __cdecl ATL::ChTraitsCRT<char>::StringCompare(char const *,char const *)" (?StringCompare@?$ChTraitsCRT@D@ATL@@SAHPBD0@Z) 中被引用
1>PieChart.obj : error LNK2001: 无法解析的外部符号 __imp___mbscmp
1>GridCtrl.obj : error LNK2001: 无法解析的外部符号 __imp___mbscmp
1>DlgMaterial.obj : error LNK2019: 无法解析的外部符号 __imp___resetstkoflw,该符号在函数 "bool __cdecl ATL::_ATL_SAFE_ALLOCA_IMPL::_AtlVerifyStackAvailable(unsigned long)" (?_AtlVerifyStackAvailable@_ATL_SAFE_ALLOCA_IMPL@ATL@@YA_NK@Z) 中被引用
1>NumSpinCtrl.obj : error LNK2019: 无法解析的外部符号 __imp__atof,该符号在函数 "public: double __thiscall CNumSpinCtrl::GetPos(void)" (?GetPos@CNumSpinCtrl@@QAENXZ) 中被引用
1>tinyxml.obj : error LNK2001: 无法解析的外部符号 __imp__atof
1>tinyxmlparser.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall std::basic_istream<char,struct std::char_traits<char> >::get(void)" (__imp_?get@?$basic_istream@DU?$char_traits@D@std@@@std@@QAEHXZ),该符号在函数 "protected: static bool __cdecl TiXmlBase::StreamWhiteSpace(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamWhiteSpace@TiXmlBase@@KA_NPAV?$basic_istream@DU?$char_traits@D@std@@@std@@PAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@@Z) 中被引用
1>tinyxmlparser.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall std::basic_istream<char,struct std::char_traits<char> >::peek(void)" (__imp_?peek@?$basic_istream@DU?$char_traits@D@std@@@std@@QAEHXZ),该符号在函数 "protected: static bool __cdecl TiXmlBase::StreamWhiteSpace(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamWhiteSpace@TiXmlBase@@KA_NPAV?$basic_istream@DU?$char_traits@D@std@@@std@@PAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@@Z) 中被引用
1>GridCtrl.obj : error LNK2019: 无法解析的外部符号 __imp__strftime,该符号在函数 "public: class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > __thiscall ATL::COleDateTime::Format(char const *)const " (?Format@COleDateTime@ATL@@QBE?AV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@2@PBD@Z) 中被引用
1>GridCtrl.obj : error LNK2019: 无法解析的外部符号 __imp__ldiv,该符号在函数 "unsigned int __stdcall HashKey<unsigned long>(unsigned long)" (??$HashKey@K@@YGIK@Z) 中被引用
1>.\bin\Debug\3dChart.exe : fatal error LNK1120: 8 个无法解析的外部命令
不知道怎么解决,请教各位啊!