VS2005中新建的MFC项目直接运行就提示这错误,高手救我!
1>test121Dlg.obj : error LNK2001: 无法解析的外部符号 "protected: virtual void __thiscall CDialog::AssertValid(void)const " (?AssertValid@CDialog@@MBEXXZ)
1>test121Dlg.obj : error LNK2001: 无法解析的外部符号 "protected: virtual void __thiscall CDialog::Dump(class CDumpContext &)const " (?Dump@CDialog@@MBEXAAVCDumpContext@@@Z)
1>test121Dlg.obj : error LNK2001: 无法解析的外部符号 "protected: virtual int __thiscall CDialog::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)" (?OnCmdMsg@CDialog@@MAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z)
1>test121Dlg.obj : error LNK2001: 无法解析的外部符号 "protected: virtual int __thiscall CDialog::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CDialog@@MAEHPAUtagMSG@@@Z)
1>test121Dlg.obj : error LNK2001: 无法解析的外部符号 "protected: virtual int __thiscall CDialog::CheckAutoCenter(void)" (?CheckAutoCenter@CDialog@@MAEHXZ)
1>test121Dlg.obj : error LNK2019: 无法解析的外部符号 "public: static void __cdecl CWnd::DoDataExchange(class CDataExchange *)" (?DoDataExchange@CWnd@@SAXPAVCDataExchange@@@Z),该符号在函数 "protected: virtual void __thiscall CAboutDlg::DoDataExchange(class CDataExchange *)" (?DoDataExchange@CAboutDlg@@MAEXPAVCDataExchange@@@Z) 中被引用
1>C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\test121\Debug\test121.exe : fatal error LNK1120: 6 个无法解析的外部命令
新建的MFC项目,进去后调试运行直接就提示7个错误,错误信息如上,请高手教我,写上响应代码也是如此,真不知道该怎么办了。