Masking floating point exceptions with Set8087CW, SetMXCSR and TWebBrowser
As I am receiving "Floating point division by zero" exception when using TWebBrowser and TEmbeddedWB from time to time, I discovered that I need to mask division by zero exceptions Set8087CW or SetMXCSR. Q1: What would be the best approach to do this: to mask such exceptions early in the application startup and never touch them again (the app is multithreaded)? to use OnBeforeNavigate and OnDocumentComplete events to mask / unmask exceptions? (is there a chance that exception could occur after the document is loaded?) Q2: What would be the best "command" to mask only "division by zero" and