1.//自定义一个消息
const CM_RECEIVE = WM_USER+100;error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2.ON_MESSAGE(CM_RECEIVE,OnRecieveData)error C2440: 'static_cast' : cannot convert from 'void (__thiscall CSeriesPortDlg::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1>        None of the functions with this name in scope match the target type
大家帮忙看看,我是新手,谢谢了