简便方法: CString str; (LPWSTR)(LPCTSTR)str; 转载于:https://www.cnblogs.com/davie/archive/2012/05/17/2506217.html