匿名管道通信时创建子进程失败!
这是创建程序,请哪个高手指点下,谢啦!
if( !CreateProcess( TEXT("..\\child\\Debug\\child.exe"),
TEXT("child.exe"), // Command line
NULL, // Process handle not inheritable
NULL, // Thread handle not inheritable
TRUE, // Set handle inheritance to FALSE
0, // No creation flags
NULL, // Use parent's environment block
NULL, // Use parent's starting directory
&si, // Pointer to STARTUPINFO structure
&pi ) // Pointer to PROCESS_INFORMATION structure
)