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