您可以使用Vcclr.h 中的PtrToStringChars,將String 轉換為原生(Native) wchar_t * 或char *。這一定會傳回寬Unicode 字串 ...
msdn.microsoft.com