有3个错误 ,不知道怎么回事。我刚用08
1、ON_MESSAGE(WM_RECVDATA,OnRecvData)cannot convert from 'void (__thiscall CChatDlg::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'2、CString str=(char*)lParam;cannot convert from 'char *' to 'ATL::CStringT<BaseType,StringTraits>'3、sendto(m_socket,strSend,strSend.GetLength()+1,0,
(SOCKADDR*)&addrTo,sizeof(SOCKADDR));'sendto' : cannot convert parameter 2 from 'CString' to 'const char *'