>>418
こんな感じかな?
テストはしてないけど。

#include <cstdlib>
void convStrToWStr(const std::string& src, std::wstring& dst) {
 const int length = src.length() + 1;
 wchar_t* buf = new char[length];
 std::mbstowcs(buf, src.c_str(), length);
 dst = buf;
 delete [] buf;
}