Getting “Invalid Floating Point” error with ActiveX Control in Delphi

*爱你&永不变心* 提交于 2019-12-11 17:32:41

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!