问题
A vendor has developed an ActiveX control in Microsoft C++. The ActiveX worked fine when they were using the 16bit version of the compiler. The control does not work when compiled using the 32bit version within the Delphi2007/D7 environments. If you drop a control on a form and run it throws an "Floating Point Error".
It is a Delphi issue. We are able to use the ActiveX in other applications.
Anyone ever have a similar problem or have a solution for this?
回答1:
Sounds like an FPU problem - check out Set8087CW in Delphi's help file.
来源:https://stackoverflow.com/questions/760348/getting-invalid-floating-point-error-with-activex-control-in-delphi