菜鸟求助
BOOL CCTalkRoomClientDlg::GetMessage()
{
char buff[100];
int count;
count=myServerSocket->Receive(buff,100);
buff[count]=0;
m_list.AddString(buff);
return TRUE;
}
count=myServerSocket->Receive(buff,100);
处出现Unhandled exception in train.exe (MSVCRT.DLL):0xC0000005:Access Violation异常
此处myServerSocket为CSocket 派生类指针
求解决方法
急急急!