From: "Peter Below (TeamB)" <100113.1101@compuXXserve.com> Subject: Re: KeyboardHook Date: 27 Apr 1999 00:00:00 GMT Message-ID: Content-Transfer-Encoding: 8bit References: <7g44pg$ibs12@forums.borland.com> Content-Type: text/plain; charset=iso-8859-1 Organization: TeamB Mime-Version: 1.0 Reply-To: 100113.1101@compuXXserve.com Newsgroups: borland.public.delphi.objectpascal > i using an dll for implenting an system wide keyboardhook. all works fine, > except some games. > like deltaforce, dune 2000, anno 1602. after the dll is projected into the > process, an error occurs > and the whole shit is fucked up. the error is always after an fpu command. This is a known problem with applications that use the OpenGL framework, for example. OpenGL in Win9x has some bugs that cause floating point errors. The FPU error mask used by Microsoft compilers hides these errors, the one used by Borland compilers (which is different) unmasks the errors. I have seen a fix to this problem pubished in The Delphi Magazine. Go to http://www.itecuk.com/delmag and download the companion disk for issue #32, it should have the code for the article by Warren Kovach. Peter Below (TeamB) 100113.1101@compuserve.com) No e-mail responses, please, unless explicitly requested!