RecInfo1 buf,buf1;
buf.OperType=3;
CString strsql;
strsql.Format("select sname from stuinfo");
//GetRecord(strsql);
strcpy(buf.strsql,strsql);
AfxMessageBox(buf.strsql);//这个返回正确
theApp.m_client.Send(&buf,sizeof(buf));
theApp.m_client.Receive(&buf1,sizeof(buf1));
AfxMessageBox(buf1.AllInfo[0]);
//这个是烫烫烫的乱码,这是什么原因?