摘要:
2011-05-16 00:101166人阅读评论(0)收藏举报mfcdeleteUnicode下CString转TCHARTCHAR* szMsg = new TCHAR[wcslen(strAdbCmd)];szMsg = strAdbCmd.GetBuffer(strAdbCmd.GetLength());strAdbCmd.ReleaseBuffer();用完了别忘了delete []szMsg;CString转char* char * charP;CString strP;WideCharToMultiByte(CP_OEMCP,0,(LPCTSTR)strP,-1,charP,26 阅读全文