RunAndWait

This program shows how to execute other programs and wait for them to finish before continuing. Also shows how to automatically load a file into the program registered for that file type.


Win API Functions used:

CloseHandle
CreateProcess
ExpandEnvironmentStrings
GetExitCodeProcess
ShellExecuteEx
TerminateProcess
WaitForSingleObject


——— Last updated 02/14/2019 ———