读书人

关于CreateProcess求大哥解答 求围观求

发布时间: 2012-10-17 10:25:47 作者: rapoo

关于CreateProcess求大哥解答 求围观求侮辱!
LPTSTR szCmdline[] = _tcsdup(TEXT("\"C:\\Program Files\\MyApp\" -L -S"));


CreateProcess(NULL, szCmdline, /*...*/);

小弟就是第一行命令行参数看不懂!请大家多多指教多多指教

[解决办法]
相当于在cmd窗口里面输入命令:
"C:\Program Files\MyApp" -L -S
[解决办法]
The _strdup function calls malloc to allocate storage space for a copy of strSource and then copies strSource to the allocated space.

_wcsdup and _mbsdup are wide-character and multibyte-character versions of _strdup. The arguments and return value of _wcsdup are wide-character strings; those of _mbsdup are multibyte-character strings. These three functions behave identically otherwise.

[解决办法]
就是给创建的新进程

执行了个-L -S命令

读书人网 >C++

热点推荐