VC6到VC2010,项目迁移错误

错误信息:

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

解决方案:

把Begin Messsage Map里的方法删掉。

原文地址:https://www.cnblogs.com/rgqancy/p/5589959.html