Calling CreateProcess() the easy way

If you look up the CreateProcess() function in Win32 help, you’ll notice that there are more than three dozen parameters that you can optionally setup before calling it. The good news is that you have to setup only a small number of those parameters to make a simple CreateProcess() call.

Now, all you have to do is call CreateProcessSimple(), let’s say to run Windows’ Notepad: