摘要: 我把之前用VC++6.0上写的程序移植到VS2010或VS2012上时偶尔会碰到下面这种情况。有这样的错误提示:error C2440: “static_cast”: 无法从“LRESULT (__thiscall CMyReceiveDlg::* )(LPARAM,WPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”我看了下LPARAM、WPARAM、LRESULT的区别例如:声明:LRESULT OnDrawItem(LPARAM lparam, WPARAM wparam);定义:LRESULT CMyReceiveDlg:: 阅读全文
posted @ 2013-03-29 15:45 haihai187 阅读(1210) 评论(0) 推荐(0) 编辑