Page 1 of 1

How to disable MadExcept exception handling at runtime

Posted: Tue May 10, 2022 11:07 pm
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!

Re: How to disable MadExcept exception handling at runtime

Posted: Wed May 11, 2022 7:47 am
by madshi
You can use "PauseMadExcept()". It will not 100% disable madExcept, but mostly. Hope that helps?

Re: How to disable MadExcept exception handling at runtime

Posted: Wed May 11, 2022 10:25 pm
by markus46
Thanks Madshi. I will try it out.