How to disable MadExcept exception handling at runtime

delphi package - automated exception handling
Post Reply
markus46
Posts: 2
Joined: Tue May 10, 2022 10:54 pm

How to disable MadExcept exception handling at runtime

Post by markus46 »

Hello,

I want to use either the default Delphi exception handling or MadExcept at runtime. The exception handler to use will be determined by a commandline parameter.

How can I achieve this?

Sorry if this has been asked before. My forum searches return no results :(

Thanks in advance!
madshi
Site Admin
Posts: 10527
Joined: Sun Mar 21, 2004 5:25 pm

Re: How to disable MadExcept exception handling at runtime

Post by madshi »

You can use "PauseMadExcept()". It will not 100% disable madExcept, but mostly. Hope that helps?
markus46
Posts: 2
Joined: Tue May 10, 2022 10:54 pm

Re: How to disable MadExcept exception handling at runtime

Post by markus46 »

Thanks Madshi. I will try it out.
Post Reply