Platforms to show: All Mac Windows Linux Cross-Platform

InstallSystemExceptionHandlerMBS(Message as string = "")

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method System MBS Main Plugin 10.4 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Installs an exception handler to show a message dialog with custom message before the app crashes.
Example
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 global method:

Blog Entries

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


The biggest plugin in space...