把CString格式转化为Char
void CRSLAIDoc::CString2Char(CString TempCString,char ch[])
{
int i;
char *tmpch;
int wLen=WideCharToMultiByte(CP_OEMCP,0,TempCString,-1,NULL,0,NULL,NULL);
tmpch=new char[wLen+1];
WideCharToMultiByte(CP_OEMCP,0,TempCString,-1,tmpch,wLen,NULL,NULL);
for(i=0;tmpch[i]!="
- 2023-04-25 23:50:03下载
- 积分:1