Could someone show me a simple example of starting then terminating a progream using the CreateProcess and TerminateProcess API calls? I have no idea on how to get them working properly.
Something simple would be greate. Like two click buttons. One to start the calculator (or what ever) and the other to terminate that process.