22/04/2009
SmartGWT and Delphi’s TWebBrowser
Delphi’s TWebBrowser component is a convenient way to embed web contents into a Win32 executable. If the web content is a SmartGWT application there are some constellations where the TWebBrowser component crashes with a floating point exception.
The solution is to configure the floating point processor in your DPR file:
// ... begin Set8087CW($133F); // <-- Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end.
Advertisement