What windows api's are the following using:
File.Run()
Shell.Execute()
If Shell.Execute() is passed true for "wait for return" is it looping thru an internal loop until the procid is closed?
Professional Software Development Tools
What windows api's are the following using:
File.Run()
Shell.Execute()
If Shell.Execute() is passed true for "wait for return" is it looping thru an internal loop until the procid is closed?
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)
Hi Josh,
Shell.Execute() uses ShellExecuteEx(), and File.Run() uses CreateProcess().
If you use wait for return, both actions use the MsgWaitForMultipleObjects() SDK call using the handle of the newly created process. Looping until the process has signaled that it is done.
I hope this helps.
MSI Factory The Next Generation Intelligent Setup Builder
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)