Unable to set madExcept settings at runtime

delphi package - automated exception handling
Post Reply
AMMSRU
Posts: 6
Joined: Wed Mar 27, 2019 2:27 pm

Unable to set madExcept settings at runtime

Post by AMMSRU »

Hi,

I am evaluating madExcept for use with C++ Builder 10.2 in my software and I have so far been unable to successfully change the settings at runtime. The default bug report filename is bugreport.txt and is written to the directory that contains the executable. When I execute the following code the message box prints "bugreport.txt", not the path that I had just set.

Code: Select all

MESettings( )->BugReportFile = UnicodeString( L"C:\\Path\\Here\\bugreport.txt" );
ShowMessage( MESettings( )->BugReportFile );
Other forum posts that I searched for indicated that most of the properties in MESettings, including BugReportFile, can be set at runtime. What am I doing wrong?

Thank you very much!


-- Adrian
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Unable to set madExcept settings at runtime

Post by madshi »

Seems weird, that's supposed to work. Did you fully enable madExcept for your project? I suppose MESettings() might not work properly if there are no settings to start with.
Post Reply