I have to write a watchdog for a DOS application on Win98. It has to check each minute for:
- Is the program still running?
- Is the program hanging.
If the program is not running or is hanging, an action has to be taken.
What is the best way to watch the application. ( something like task-manager?)
Please insert code / function names
Thanks in advance.