Link to home
Start Free TrialLog in
Avatar of ZhaawZ
ZhaawZFlag for Latvia

asked on

Monitoring an external application

I'd like to write application which would launch some external program and notify me when the program will be closed. I also need possibility to force closing this program. Could anyone help me, please?
ASKER CERTIFIED SOLUTION
Avatar of mokule
mokule
Flag of Poland 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
To terminate process

TerminateProcess(procinf.hProcess,0);
One important information. To have possibility to terminate process You must have PROCESS_TERMINATE access right set in Security structure
Avatar of ZhaawZ

ASKER

tx for the answers ;)