One suggestion is to read the documentation for CreateProcess. I know, I know, it's a really bizarre suggestion, and who would have seen it coming. See "CreateProcess function" at...