Gack! What exactly are you trying to do? Is your problem on the side of the parent process (which causes CreateProcess()) or on the side of the child process?
, CreateProcess(). , ( lpCommandLine CreateProcess), , , 2nd.
, ( , , ), - . - . ( ), .
lpCommandLine , , .