lresul专题

error C2440: ‘static_cast’ : cannot convert from ‘UINT (__thiscall CMenuBar::* )(CPoint)’ to ‘LRESUL

转自VC错误:http://www.vcerror.com/?p=1568 问题描述: 在把VC6.0 工程转到VS2005工程中遇到下面的问题: error C2440: ‘static_cast’ : cannot convert from ‘UINT (__thiscall CMenuBar::* )(CPoint)’ to ‘LRESULT (__thiscall CWnd::*

error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL

不能转换void (_thiscall CMainFrame::*)(void)to LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM) 开发平台由VC6.0升级至VS2005,需要将原有的项目迁移,可能碰到类似错误: error C2440: 'static_cast' : cannot convert from 'void (__thiscall CM