How to find out if another Windows program has errored

Nov 6 2008 4:36 AM

Hello,  I am trying to write a program which executes another program (3rd party) to do some processing and I need to capture if this program has errored.  The program does not appear to write the errors to the Event Viewer, which is how I was intending to catch these occurences. 

If the program errors it displays a message/error box.  Is there a way of retrieving the number of Windows a program has attached to it.  The thought I have had is to get this window count on startup and then monitor the count until the program is complete.

Any help much obliged.


Answers (1)