Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unit Unit1;
- interface
- uses
- Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
- Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.OleCtrls, SHDocVw, System.Math,
- Vcl.StdCtrls;
- type
- TForm1 = class(TForm)
- WebBrowser1: TWebBrowser;
- Button1: TButton;
- procedure FormCreate(Sender: TObject);
- procedure Button1Click(Sender: TObject);
- private
- Saved8087CW: Word;
- public
- { Public declarations }
- end;
- var
- Form1: TForm1;
- implementation
- {$R *.dfm}
- procedure TForm1.Button1Click(Sender: TObject);
- begin
- System.Set8087CW($1F80); // Disable all fpu exceptions
- end;
- procedure TForm1.FormCreate(Sender: TObject);
- begin
- WebBrowser1.Silent := true;
- WebBrowser1.GoHome;
- end;
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement