为什么总是说 Unhandled exception in ChatRoomClient.exe 0xC0000005 Access Violation
hb205 2010-05-13 05:38:43 char *buff = new char[1000];
memset(buff,0,1000);
int count;
count = myServerSocket->Receive(buff,1000);
buff[count]=0;
m_IDC_LIST_CHATBOX.AddString(buff);
return true;
运行的时候总是报错:
0xC0000005 Access Violation
count = myServerSocket->Receive(buff,1000);关键是这句。
怎么解决啊?