问题说明:
将VC6.0编译好的程序迁入vs2008中出现了大量的类似下面的错误:
BusListView.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CXTPStatusBar::SetPaneText(int,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,int)" (__imp_?SetPaneText@CXTPStatusBar@@QAEHHABV?$CStringT@DV? $StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@H@Z),该符号在函数 "public: void __thiscall CMainFrame::SetStatusPaneText(unsigned int,char const *)" (?SetStatusPaneText@CMainFrame@@QAEXIPBD@Z) 中被引用
BusListView1.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CXTPStatusBar::SetPaneText(int,class ATL::CStringT<char,class S