错误C3646:'CRuntimeClass':未知的覆盖说明符 [英] error C3646: 'CRuntimeClass' : unknown override specifier

查看:75
本文介绍了错误C3646:'CRuntimeClass':未知的覆盖说明符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在将VC6项目迁移到VS2010编译器中。项目编译好VC6版本而不是VS2010。这是代码片段。任何帮助或指导都会非常感激。

I have been migrating the VC6 project into VS2010 compiler. Project compiles good with VC6 version but not VS2010. Here is the code snippet. Any help or guidance would be really appreciated.

grdictrl.h

gridctrl.cpp

这是完整的错误list:

错误C3646显示以下行:

Error C3646 shows up with the following line:

IMPLEMENT_DYNAMIC(CTndGXDICtrl,CGXEditControl)

我可能会失踪在这里,任何指导都会有用。

I may be missing something here, any guidance will be useful.

问候。

推荐答案

不再使用DECLARE_CONTROL和IMPLEMENT_CONTROL宏。 你必须查看VC6 MFC源代码来弄清楚他们在做什么。 您可以删除它们。 如果这是基于RogueWave软件,它看起来像
你可以使用GRID_DECLARE_CONTROL。
The DECLARE_CONTROL and IMPLEMENT_CONTROL macros are no longer used.  You'll have to look in the VC6 MFC source code to figure out what they were doing.  You may be able to delete them.  If this is based on RogueWave software, it looks like you can use GRID_DECLARE_CONTROL instead.


这篇关于错误C3646:'CRuntimeClass':未知的覆盖说明符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆