Creating and Terminating a Process

When you initiate a program from within a running application, the application calls the CreateProcess function to load the new application into memory and to create a new process with at least one new thread.

    To create and terminate a process