VC6到VC2010,项目迁移错误

错误信息:

error C2440: “static_cast”: cannot
from
“BOOL (__thiscall CSelectRect::* )(void)”
to
“BOOL (__thiscall CWnd::* )(CDC *)”

解决方案:

把Begin Messsage Map里的方法删掉。

 

posted @ 2016-06-16 09:52  任国强  阅读(241)  评论(0编辑  收藏  举报