Unable to set madExcept settings at runtime

delphi package - automated exception handling

Unable to set madExcept settings at runtime

Postby AMMSRU » Wed Mar 27, 2019 2:35 pm


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
Posts: 3
Joined: Wed Mar 27, 2019 2:27 pm

Re: Unable to set madExcept settings at runtime

Postby madshi » Wed Mar 27, 2019 8:58 pm

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.
Site Admin
Posts: 10232
Joined: Sun Mar 21, 2004 5:25 pm

Return to madExcept

Who is online

Users browsing this forum: No registered users and 8 guests