📜  lpcwstr 到字符串 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:57.169000             🧑  作者: Mango

代码示例1
int main
{
    std::string stringtoconvert;

    std::wstring temp = std::wstring(stringtoconvert.begin(), stringtoconvert.end());
    LPCWSTR lpcwstr = temp.c_str();
}