Can you guys find out what am I wrong with?Īnother thing I have noticed is, if I comment the following code it is working fine with CreateProcess as well. ret is returned as 1 by CreateProcess but the exe is not launched in the server. I checked the create file handle and it has valid value. WaitForSingleObject( pi.hProcess,dwWaitTime) Ret = CreateProcess(NULL, sCmd, NULL, NULL, TRUE, flags, NULL, NULL,
0 Comments
Leave a Reply. |