Link to home
Start Free TrialLog in
Avatar of petelazell
petelazell

asked on

Waiting for an EXE to close

Hi,

I have an application which fires off an external executable using the ShellExecute function. In my program I need to start some processing after the executable has finished running, how do I find out when the executable has finished?

ASKER CERTIFIED SOLUTION
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
use createProcess instead of shellexecute

sample follows

meikl ;-)
sample already in the link from f68 above