unicode下 CString 轉 string

unicode 下CString轉stringide CString path = L"ABC"; int n = path.GetLength(); int len = WideCharToMultiByte(CP_ACP, 0, path, path.GetLength(), NULL, 0, NULL, NULL); char * pTest = new char[len + 1]; Wid
相關文章
相關標籤/搜索