在MFC的Unicode字符集下,经常要用到CString与char*的转换,方法如下: 一、CString 装 char* 使用函数:T2A,W2A CString str = _T("hello"); //声明标识符 USES_CONVERSION;