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 01/23/2012 ———