摘要:
方法一:MultiByteToWideChar、WideCharToMultiByte 1 BOOL StringToWString(const std::string &str,std::wstring &wstr) 2 { 3 int nLen = (int)str.length(); 4 wstr.resize(nLen,L' '); 5 6 int nResult = MultiByteToWideChar(CP_ACP,0,(LPCSTR)str.c_str(),nLen,(LPWSTR)wstr.c_str(),nLen); 7 ... 阅读全文
posted @ 2012-07-18 15:50
02xiaoma
阅读(47304)
评论(3)
推荐(1)
浙公网安备 33010602011771号