MFC中自定义线程消息出错了
错误:error C2440: 'static_cast' : cannot convert from 'void (__thiscall CCThread::* )(void)' to 'void (__thiscall CWinThread::* )(WPARAM,LPARAM)'
指向的语句是:
ON_THREAD_MESSAGE(WM_USERTHREADMSG,OnUserThreadMSG)//自定义线程消息的映射宏
这是怎么了?
[解决办法]
未映射
发布时间: 2012-04-09 13:41:24 作者: rapoo
MFC中自定义线程消息出错了
错误:error C2440: 'static_cast' : cannot convert from 'void (__thiscall CCThread::* )(void)' to 'void (__thiscall CWinThread::* )(WPARAM,LPARAM)'
指向的语句是:
ON_THREAD_MESSAGE(WM_USERTHREADMSG,OnUserThreadMSG)//自定义线程消息的映射宏
这是怎么了?
[解决办法]
未映射