mfc error C2552: 'public: static struct CRuntimeClass const CMainFrame::classCM

lbsloveldm 2011-05-05 11:54:54
mfc 编译不过 IMPLEMENT_DYNCREATE(CMfcView, CView)

vc6 卸载,注册表清空后,重新安装,新创建的mfc sdi工程 编译不过。

请高手帮忙

F:\test\ui\mfc\MainFrm.cpp(18) : error C2552: 'public: static struct CRuntimeClass const CMainFrame::classCMainFrame' : non-aggregates cannot be initialized with initializer list
mfcDoc.cpp
F:\test\ui\mfc\mfcDoc.cpp(18) : error C2552: 'public: static struct CRuntimeClass const CMfcDoc::classCMfcDoc' : non-aggregates cannot be initialized with initializer list
mfcView.cpp
F:\test\ui\mfc\mfcView.cpp(19) : error C2552: 'public: static struct CRuntimeClass const CMfcView::classCMfcView' : non-aggregates cannot be initialized with initializer list
Generating Code...
...全文
248 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
向立天 2011-05-20
  • 打赏
  • 举报
回复
您好
我是本版版主
此帖已多日无人关注
请您及时结帖
如您认为问题没有解决可按无满意结帖处理
另外本版设置了疑难问题汇总帖
并已在版面置顶
相关规定其帖子中有说明
您可以根据规定提交您帖子的链接
如您目前不想结帖只需回帖说明
我们会删除此结帖通知

见此回复三日内无回应
我们将强制结帖
相关规定详见界面界面版关于版主结帖工作的具体办法

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧