首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

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

2012-10-17 
关于CreateProcess求大哥解答 求围观求侮辱!LPTSTR szCmdline[] _tcsdup(TEXT(\C:\\Program Files\\My

关于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命令

热点排行