Is there a way to call CreateProcess such that killing the parent process automatically kills the child process?
Perhaps using Create Process Flags?
Edit<
The best you can do is to put both processes in the same job, so that killing the job kills both processes.