error C2440: “static_cast”: 无法从“void (__thiscall CChatDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”
搜索发现为开发平台迁移问题。
// 生成的消息映射函数
BEGIN_MESSAGE_MAP(CChatDlg, CDialog) 编译错误提示:
error C2440: “static_cast”: 无法从“void (__thiscall CChatDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”
更改定义: 编译通过
LRESULT是一个数据类型, |
error C2440: “static_cast”: 无法从“void (__thiscall CChatDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__thisca
最新推荐文章于 2024-11-08 10:00:35 发布