error C2440: “static_cast”: 无法从“void (__thiscall CChatDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”1> 从基类型到派生类型的强制转换需要 dynamic_cast 或 static_cast
搜索发现为开发平台迁移问题。由vc6.0升级至vs2005以上平台均会遇到这情况,原因为VS2005对消息的检查更为严格,以前在VC6下完全正常运行的消息映射在VS2005下编译不通过
error C2440,布布扣,bubuko.com
error C2440
原文:http://www.cnblogs.com/steve-jokes/p/3898378.html