读书人

连接有关问题 高手帮忙呀?

发布时间: 2012-04-19 14:36:43 作者: rapoo

连接问题 高手帮忙呀??
1>------ 已启动生成: 项目: MediaCoreTest, 配置: Debug Win32 ------
1>正在链接...
1>MediaCoreTest.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CWinAppEx::CWinAppEx(int)" (??0CWinAppEx@@QAE@H@Z),该符号在函数 "public: __thiscall CMediaCoreTestApp::CMediaCoreTestApp(void)" (??0CMediaCoreTestApp@@QAE@XZ) 中被引用
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct CRuntimeClass * __thiscall CWinAppEx::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinAppEx@@UBEPAUCRuntimeClass@@XZ)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall CWinAppEx::ExitInstance(void)" (?ExitInstance@CWinAppEx@@UAEHXZ)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall CWinAppEx::LoadState(char const *,class CFrameImpl *)" (?LoadState@CWinAppEx@@UAEHPBDPAVCFrameImpl@@@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall CWinAppEx::CleanState(char const *)" (?CleanState@CWinAppEx@@UAEHPBD@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall CWinAppEx::SaveState(char const *,class CFrameImpl *)" (?SaveState@CWinAppEx@@UAEHPBDPAVCFrameImpl@@@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall CWinAppEx::OnViewDoubleClick(class CWnd *,int)" (?OnViewDoubleClick@CWinAppEx@@UAEHPAVCWnd@@H@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall CWinAppEx::ShowPopupMenu(unsigned int,class CPoint const &,class CWnd *)" (?ShowPopupMenu@CWinAppEx@@UAEHIABVCPoint@@PAVCWnd@@@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall CWinAppEx::OnAppContextHelp(class CWnd *,unsigned long const * const)" (?OnAppContextHelp@CWinAppEx@@UAEXPAVCWnd@@QBK@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "protected: virtual void __thiscall CWinAppEx::OnClosingMainFrame(class CFrameImpl *)" (?OnClosingMainFrame@CWinAppEx@@MAEXPAVCFrameImpl@@@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "protected: virtual int __thiscall CWinAppEx::LoadWindowPlacement(class CRect &,int &,int &)" (?LoadWindowPlacement@CWinAppEx@@MAEHAAVCRect@@AAH1@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "protected: virtual int __thiscall CWinAppEx::StoreWindowPlacement(class CRect const &,int,int)" (?StoreWindowPlacement@CWinAppEx@@MAEHABVCRect@@HH@Z)
1>MediaCoreTest.obj : error LNK2001: 无法解析的外部符号 "protected: virtual int __thiscall CWinAppEx::ReloadWindowPlacement(class CFrameWnd *)" (?ReloadWindowPlacement@CWinAppEx@@MAEHPAVCFrameWnd@@@Z)
1>MediaCoreTest.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall CWinAppEx::~CWinAppEx(void)" (??1CWinAppEx@@UAE@XZ),该符号在函数 "public: virtual __thiscall CMediaCoreTestApp::~CMediaCoreTestApp(void)" (??1CMediaCoreTestApp@@UAE@XZ) 中被引用
1>\work\VideoClient\bin\MediaCoreTest.exe : fatal error LNK1120: 14 个无法解析的外部命令
1>生成日志保存在“file://f:\work\sdk\MediaCoreTest\MediaCoreTest\Debug\BuildLog.htm”
1>MediaCoreTest - 15 个错误,0 个警告
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========



怎么解决这些问题呀 ??

[解决办法]

探讨
工程、设置、Microsoft Foundation Classes:

Use MFC in a Shared DLL
确定

读书人网 >C++

热点推荐