My problem is as follow: When using createProcess() the thing I don't understand is how to define what the child process does? It seems that createProcess() does not allow me to do this. I saw some examples in the internet but they only demonstrated the ability of createProcess() to call an already-written process, for example, notepad.exe. And now I want the child process to execute something written by me. How and where can I put my code into the newly created process? Please tell me how to do this.
Thank you for reading my question.