VS2005中新建的MFC项目直接运行就提示这错误,高手救我!

junliang0824 junliang0824 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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个错误,错误信息如上,请高手教我,写上响应代码也是如此,真不知道该怎么办了。
...全文

相关推荐

评论 12
收藏 已收藏
分享
返回顶部
junliang0824
VC/MFC 16,550 成员 421,606 内容