unicode 下 string to CString

  
  USES_CONVERSION;
  TCHAR *pTCH = A2T(str.c_str());
  CString strTxt.Format(_T("%s"), pTCH);

原文地址:https://www.cnblogs.com/carl2380/p/1924575.html