Previous Topic

Next Topic

Optionally Disable Floating Point Unit Exceptions

By default, the c-tree ODBC Driver enables the divide by zero FPU (floating point unit) exception so that it can detect when a divide by zero error occurs. A customer requested the ability to avoid enabling this exception to work around a problem with Microsoft’s .Net Font class constructor, which raises an ArithmeticException exception if floating point unit exceptions have been enabled.

The c-tree ODBC Driver checks the registry for a string value named EnableFPUExceptions under the registry subkey:

HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\FairCom 32bit Driver

If this string value exists and is set to No, the c-tree ODBC Driver does not enable FPU exceptions.