大佬教程收集整理的这篇文章主要介绍了c – MyClass :: GetMessageMap()和MyClass :: GetRuntimeClass(MSVC 2008)的MFC dlg类链接错误,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
为什么会这样?
class DlgGapWindow : public CDialog { DECLARE_DYNAMIC(DlgGapWindow) public: DlgGapWindow(CWnd* pParent = null); virtual ~DlgGapWindow(); virtual BOOL PreTranslatemessage(MSG* pMsg); protected: virtual BOOL OnInitDialog(); enum { IDD = IDD_DIALOG_GAP_VIEW };// Dialog Data GapViewer m_chart; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support afx_msg void OnSize(Uint nType,int cx,int cy); afx_msg void OnSizing(UINT fwSide,LPRECT pRect) ; afx_msg void OnTimer(ONTIMER_TYPE nIDEvent); afx_msg void OnDestroy(); afx_msg void OnClose(); afx_msg void OnActivate(UINT,CWnd *,BOOL); afx_msg void OnRButtonDown(Uint nFlags,CPoint point); afx_msg void OnLButtonDblClk(Uint nFlags,CPoint point); DECLARE_messaGE_MAP() };
我似乎没有看到任何类似于我建模的东西.我没有发现谷歌或其他搜索有用的东西,以表明为什么这些神奇的mfc缺失.我的其他类没有明确定义它们,也没有错误.
编辑:
感谢DECLARE_DYNAMIC帮助 – 现在我没有GetRuntimClass()错误 – 只是Getmessagemap()错误.
以上是大佬教程为你收集整理的c – MyClass :: GetMessageMap()和MyClass :: GetRuntimeClass(MSVC 2008)的MFC dlg类链接错误全部内容,希望文章能够帮你解决c – MyClass :: GetMessageMap()和MyClass :: GetRuntimeClass(MSVC 2008)的MFC dlg类链接错误所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。