获取“无效的浮点数”。 Delphi中ActiveX控件出现错误 [英] Getting "Invalid Floating Point" error with ActiveX Control in Delphi

查看:112
本文介绍了获取“无效的浮点数”。 Delphi中ActiveX控件出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

供应商已使用Microsoft C ++开发了ActiveX控件。当他们使用16位版本的编译器时,ActiveX可以正常工作。在Delphi2007 / D7环境中使用32位版本进行编译时,该控件不起作用。如果将控件放在窗体上并运行,则会引发浮点错误。

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".

这是Delphi的问题。我们可以在其他应用程序中使用ActiveX。

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?

推荐答案

听起来像FPU问题-在Delphi的帮助文件中查看Set8087CW。

Sounds like an FPU problem - check out Set8087CW in Delphi's help file.

这篇关于获取“无效的浮点数”。 Delphi中ActiveX控件出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆