摘要:
std::wstring string2wstring(std::string str){ std::wstring result; int len = MultiByteToWideChar(CP_ACP, 0, str.c_str(), str.size(), NULL, 0); wchar_t* buffer = new wchar_t[len + 1]; MultiByteToWideChar(CP_ACP, 0, str.c_str(), str.size(), buffer, len); buffer[len] = L'\0'; re... 阅读全文
posted @ 2012-06-20 17:01
友学友
阅读(506)
评论(0)
推荐(0)

浙公网安备 33010602011771号