📅  最后修改于: 2022-03-11 14:44:54.999000             🧑  作者: Mango
PWSTR myPwstr;
std::wstring_convert, wchar_t> convert;
std::string stringified = convert.to_bytes(myPwstr);
const char* result = stringified.cstr();