sergio_2001
asked on
Detect program execution.
Hi all,
I want that the program execution stop when I launch one application using WinExec/CreateProcess/Shel lExecute or another one and continue when the application that I launched close.
begin
WinExec('App.exe', sw_normal); //open the app and wait
// When App.exe close;
MessageDlg('App stoped.', mtInformation,[mbOk], 0);
end;
Another solution is launch the app and track the finalization using API but I don't know the correct function.
Hope to be clear.
Regards
Paulo
I want that the program execution stop when I launch one application using WinExec/CreateProcess/Shel
begin
WinExec('App.exe', sw_normal); //open the app and wait
// When App.exe close;
MessageDlg('App stoped.', mtInformation,[mbOk], 0);
end;
Another solution is launch the app and track the finalization using API but I don't know the correct function.
Hope to be clear.
Regards
Paulo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.