Page 1 of 1

Unable to set madExcept settings at runtime

Posted: Wed Mar 27, 2019 2:35 pm
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

Re: Unable to set madExcept settings at runtime

Posted: Wed Mar 27, 2019 8:58 pm
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.