Version String Information
All drivers have a version string of the format:
or
XX.YY.ZZZZ(bAAAA, uBBBB)The Driver Manager on UNIX and Linux has a version string of the format:
The component for the Unicode conversion tables (ICU) has a version string of the format:
XX.YY.ZZZZwhere:
XXis the major version of the product.
YYis the minor version of the product.
ZZZZis the build number of the driver or ICU component.
AAAAis the build number of the driver's bas component.
BBBBis the build number of the driver's utl component.For example:
On Windows, you can check the version string through the properties of the driver DLL. Right-click the driver DLL and select Properties. The Properties dialog box appears. On the Version tab, click File Version in the "Other version information" list box.
You can always check the version string of a driver by looking at the About tab of the driver's Setup dialog.
On UNIX, you can check the version string by using the ddtestlib tool shipped with the product. This tool is located in install_directory/bin.
Use the following command line:
For example, for the Oracle Wire Protocol driver:
For example, for the Driver Manager:
For example, for ICU:
NOTE: On Solaris, AIX, and Linux, the full path to the driver does not have to be specified for ddtestlib. The HP-UX version of ddtestlib, however, requires the full path.
getFileVersionString Function
Version string information can also be obtained programmatically through the function
getFileVersionString. This function can be used when the application is not directly calling ODBC functions.This function is defined as follows and is located in each driver's shared object:
This function is prototyped in the qesqlext.h file shipped with the product.