Not show the dialog window

delphi package - automated exception handling
Post Reply
klfdafas1
Posts: 1
Joined: Wed Feb 17, 2016 12:54 am

Not show the dialog window

Post by klfdafas1 »

How can I in runtime define that I do not wish the madExcept exception dialog window to be shown in the case of an exception occurring? Ideally, I would like the BugReport.txt generated automatically and saved to disk, but no exception dialog shown.

Basically, my question is the same as viewtopic.php?f=4&t=28096 - You replied that it is possible, but could you also tell how to do it :D
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Not show the dialog window

Post by madshi »

You can do this either globally in your code (for all future exceptions in the running process), or you can do it in an exception handler separately for each exception. Which of those do you want to use? And what do you want to happen in the case of an exception? Should the application continue? Or should it restart or auto close?
Post Reply