Header files

You can use the sql.h and sqlext.h header files, which are part of the Microsoft™ compiler, to run HCL OneDB™ ODBC Driver.

To run HCL OneDB extensions, include the infxcli.h file, which is installed in ONEDB_HOME/incl/cli. This file defines HCL OneDB ODBC Driver constants and types, and provides function prototypes for the HCL OneDB ODBC Driver functions. If you include the infxcli.h file, it automatically includes the sql.h and sqlext.h files.

The sql.h and sqlext.h header files contain definitions of the C data types.

Include the xa.h header file in XA ODBC applications. ODBC applications on Windows™ require the HCL OneDB Client Software Development Kit to compile. Existing applications that use the ODBC driver might need to include the location of the Client SDK in the PATH environment variable before they are recompiled.