①CString str((char*)lParam); --构造函数
②CString str;
str=(char*)lParam; --运算符重载
③使用CString的格式化函数:
CString str;
str.format("%s", (char*)iParam);
转载于:https://blog.51cto.com/evely/1390863
①CString str((char*)lParam); --构造函数
②CString str;
str=(char*)lParam; --运算符重载
③使用CString的格式化函数:
CString str;
str.format("%s", (char*)iParam);
转载于:https://blog.51cto.com/evely/1390863