wait for a process end ...

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I have created a process with ShellExecuteEx()
I want my main process to wait untill this process end.
how could I do that ?
 
I have created a process with ShellExecuteEx()
I want my main process to wait untill this process end.
how could I do that ?

Lloyd,

Have a look at the WaitForXXX APIs. At the simplest level, you can
just WaitForSingleObject on the process handle returned from SEEx.

Dave
 
great, thanks !

David Lowndes said:
Lloyd,

Have a look at the WaitForXXX APIs. At the simplest level, you can
just WaitForSingleObject on the process handle returned from SEEx.

Dave
 
Back
Top