Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

InstallSystemExceptionHandlerMBS(Message as string = "")
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method System MBS Main Plugin 10.4 Yes No Yes Yes No
Function: Installs an exception handler to show a message dialog with custom message before the app crashes.
InstallSystemExceptionHandlerMBS "My message"
If message is empty, the default message is "An unhandled C++ exception occurred. The application will now quit. A common reason for this is simply running out of memory.".

The plugin allocates some memory which we release later to make sure there is free memory for the message box.

On Windows this method does not work as currently we use static runtime on Windows which does not allow the plugin to access the runtime inside the RB framework.

Some examples using this method:

Blog Entries

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Main Plugin.

MBS Xojo Chart Plugins