公
公孙剑影
Unregistered / Unconfirmed
GUEST, unregistred user!
CString sAgentID="2206";
CString sAgentPhone="2006";
CString sComment="TMD";
BYTE bData[1024];
int ilen;
int islen;
ilen=0;
strcpy((char*)bData+ilen,"RECORD START A ");ilen+=16;
islen=sAgentID.GetLength();
memcpy(bData+ilen,&islen,2);ilen+=2;
strcpy((char*)bData+ilen,sAgentID);ilen+=islen;
islen=sAgentPhone.GetLength();
memcpy(bData+ilen,&islen,2);ilen+=2;
strcpy((char*)bData+ilen,sAgentPhone);ilen+=islen;
islen=sComment.GetLength();
memcpy(bData+ilen,&islen,2);ilen+=2;
strcpy((char*)bData+ilen,sComment);ilen+=islen;
CString sAgentPhone="2006";
CString sComment="TMD";
BYTE bData[1024];
int ilen;
int islen;
ilen=0;
strcpy((char*)bData+ilen,"RECORD START A ");ilen+=16;
islen=sAgentID.GetLength();
memcpy(bData+ilen,&islen,2);ilen+=2;
strcpy((char*)bData+ilen,sAgentID);ilen+=islen;
islen=sAgentPhone.GetLength();
memcpy(bData+ilen,&islen,2);ilen+=2;
strcpy((char*)bData+ilen,sAgentPhone);ilen+=islen;
islen=sComment.GetLength();
memcpy(bData+ilen,&islen,2);ilen+=2;
strcpy((char*)bData+ilen,sComment);ilen+=islen;