From: "Peter Below (TeamB)" <100113.1101@compuXXserve.com> Subject: Re: Floating point error after calling Delphi DLL from VC++ Date: 20 May 1999 00:00:00 GMT Message-ID: Content-Transfer-Encoding: 8bit References: <7i11fq$gm68@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.winapi > I have a Visual C++ program calling a Delphi 3.0 DLL. Everything appears to > operate fairly correctly, except that I sometimes get an exception throw > stating "Floating Point Invalid Operation". Tracing through from the VC++ > end says that the program is still in the DLL somewhere. Tracing through on > the Delphi end says that if it is in the DLL it must be in the exit code. > Delphi programs and DLLs use a different FPU error mask that VC++ created programs. The startup code of the DLL enforces the Delphi error mask and that may unmask errors in the VC code. Peter Below (TeamB) 100113.1101@compuserve.com) No replies in private e-mail, please, unless explicitly requested!