我必须说im新的win32 c + +编程,所以我面临一个问题,
一些代码编译多字节字符集,而不是Unicode字符集。
我的代码如何同时支持?
例如此NOT编译在多字节只有在Unicode和注释向量仅在多字节:我如何在我的代码中支持Unicode和多字节字符集?
//vector<char> str2(FullPathToExe.begin(), FullPathToExe.end());
vector<wchar_t> str2(FullPathToExe.begin(), FullPathToExe.end());
str2.push_back('\0');
if (!CreateProcess(NULL,
&str2[0],
NULL,
NULL,
TRUE,
0,
NULL,
NULL,
&si,
&pi))
在向量中使用它的地方? – user63898 2011-05-14 05:15:30
@user:'std :: vector'。 –
2011-05-14 05:16:34