Hello
We build the same project executables, sometimes with MadExcept, sometimes without depending on the customer and I was wondering if there was an easy way to determine (in code) whether Madexcept was enabled?
Less likely but I may as well ask - is there a way to send AutoMailBugReport without the sucess/fail box appearing at all?
Thanks
Detecting MadExcept
answering my own question
OK Think I found it!
Using HandleExceptions_ to detect mad except and AutoMailBugReport rather than MailBugReport to send the email!
Duh!
Using HandleExceptions_ to detect mad except and AutoMailBugReport rather than MailBugReport to send the email!
Duh!
Re: answering my own question
Yes, you can do it like that.
You can also use the conditional define {$ifdef madExcept}, if you find it useful. It's automatically defined if madExcept is enabled and it's undefined, if madExcept is disabled.
You can also use the conditional define {$ifdef madExcept}, if you find it useful. It's automatically defined if madExcept is enabled and it's undefined, if madExcept is disabled.