Unable to set madExcept settings at runtime
Posted: Wed Mar 27, 2019 2:35 pm
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.
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
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 );
Thank you very much!
-- Adrian