摘要: static std::wstring Utf8ToWString(const std::string& sText){int nLenWideCharStr = MultiByteToWideChar(CP_UTF8, 0, sText.c_str(), -1, NULL, 0);PWCHAR p... 阅读全文
posted @ 2014-09-18 14:00 rain_2012_qf 阅读(839) 评论(0) 推荐(0) 编辑
摘要: std::string SystemStringToStdString( System::String^ sData ){ int q=(int)System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(sData); char* ... 阅读全文
posted @ 2014-09-18 13:38 rain_2012_qf 阅读(318) 评论(0) 推荐(0) 编辑