【发布时间】:2010-11-14 23:33:55
【问题描述】:
谁能帮忙把string转换成LPWSTR
string command=obj.getInstallationPath()+"<some string appended>"
现在我要把它作为参数传递给CreateProcessW(xx,command,x...)
但是createProcessW() 只接受LPWSTR 所以我需要将string 转换为LPWSTR
提前致谢
【问题讨论】:
-
@ArsenMkrt:这个问题比你提到的要宽。
标签: c++ visual-c++