Help using madExcept in "passive" mode

delphi package - automated exception handling
Post Reply
EricLenington
Posts: 2
Joined: Sun Nov 06, 2005 12:48 am

Help using madExcept in "passive" mode

Post by EricLenington »

Hello,

I feel like it should be possible to use madExcept to do what I'm trying to do, but I'm not having any luck...

I essentially want to trap an exception using try/except, use madExcept to capture and save a full bug report with all application threads (without alerting the user or otherwise stopping the application), then do some other processing to clean up after the exception, and continue running the application. I need to do this in a complex multi-threaded application and for many difference exception types.

I'm guessing that using CreateBugReport is the answer, but there is sparse documentation on the parameters used by that function (and several mentions in these forums seem to be referring to this function in a prior version of madExcept--I'm using 3.0).

Any help would be greatly appreciated!

Regards,
Eric
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

CreateBugReport(etNormal) should do the trick. You need to add "madExcept" to the uses clause.
Post Reply