The framework calls this member function whenever the handler does not catch an exception thrown in one of your application's message or command handlers.
A pointer to an uncaught exception.
A MSG structure that contains information about the windows message that caused the framework to throw an exception.
The value that should be returned to Windows. Normally this is 0L for windows messages, 1L (TRUE) for command messages.
Do not call this member function directly.
The default implementation of this member function creates a message box. If the uncaught exception originates with a menu, toolbar, or accelerator command failure, the message box displays a "Command failed" message; otherwise, it displays an "Internal application error" message.
Override this member function to provide global handling of your exceptions. Only call the base functionality if you wish the message box to be displayed.