19,500
社区成员
发帖
与我相关
我的任务
分享
char *pSmsTxt;
//CString stxt("中国");
CString stxt;
stxt=_T("中国");
int len=stxt.GetLength()*2;
pSmsTxt=new char[len+1];
memset(pSmsTxt,0,len+1);
WideCharToMultiByte(CP_ACP,0,stxt,-1,pSmsTxt,len,NULL,NULL);