Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi FPU-Exceptions abschalten...Delphi Problem ? (https://www.delphipraxis.net/95627-fpu-exceptions-abschalten-delphi-problem.html)

haentschman 11. Jul 2007 09:45

Re: FPU-Exceptions abschalten...Delphi Problem ?
 
Hallo...

also:

Jcl8087. pas gefunden...
Bibliothekspfad gesetzt...
Unit eingebunden...
Code eingefügt...
Delphi-Quellcode:
procedure TForm1.FormCreate(Sender: TObject);
begin
  FPU:= Get8087ControlWord;
  Set8087ControlWord($133F)
end;
Delphi-Quellcode:
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  Set8087ControlWord(FPU)
end;
Starten... :roll:

...der Hammer ! ohne Fehler im Netz drucken... :hello:

Danke an Euch und die Jedis... :cheers:

Robert Marquardt 11. Jul 2007 10:24

Re: FPU-Exceptions abschalten...Delphi Problem ?
 
Noch ein kleiner Hinweis. Es gibt noch SafeLoadLibrary in der VCL. Wir haben gerade die JCL und JVCL von LoadLibrary auf SafeLoadLibrary umgestellt. Hauptaufgabe von SafeLoadLibrary ist es das FPU Control Word zu sichern und restaurieren, um boese DLLs abzuwehren, die daran drehen.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:11 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz