I am having problems with unhandled runtime exceptions (not in a try catch) that are being thrown from Modally shown windows on 64bit applications. The problem is that after the exception is thrown all other events on that window no longer fire. So if you have a close button with self.Close() then you cannot actually close the window and you're forced to quit the application.
If you have access to the Window X close button then you can close the window and the app.unhandledexception event fires. Sheet windows obviously do not have this. On 32bit builds there is no problem the other control events keep on firing.
Other than putting try catch's around all modal window events, how can i fix this problem. It appears to go back to all version of Xojo and 64bit builds.
Tested on Xojo 2019r1.1 with Windows and mac 32 and 64 bit builds going back to xojo 2016r3