Book Home

Contents
Preface

Overview
New Features in OpenLink UDA
ODBC Client Components
ADO.NET Data Providers
OLE-DB Client Provider
Server Components Installation
Request Broker Administration
Server Agent Administration
Securing a Multi-Tier connection using SSL
Zero Configuration Networking
JDBC Components
Distributed Transaction Processing (XA)
Real Application Cluster (RAC) / TAF Support
iODBC Driver Manager SDK
iODBC SDK on Unix
Configuring Data Sources
Linking iODBC and ODBC Applications on Mac OS
Sample Applications
Bugs Fixed
Technical Appendix

Abstract

This document provides information on linking your ODBC Applications with iODBC. iODBC is an alternative ODBC Driver Manager solution for developing ODBC components and applications for non-Windows systems (e.g. Mac OS Classic, Mac OS X, Linux....). iODBC is a free project licensed exclusively under the LGPL and BSD licenses, developed and maintained by OpenLink Software. iODBC permits non-Windows systems to communicate with databases via ODBC.

The ODBC API consists of a set of functions to enable any C/C++ applications linked against it to access and manage data. The ODBC specification is currently maintained by Microsoft Corporation.

iODBC is compliant with the actual Microsoft ODBC version 3.51.

iODBC SDKs are different for each platform. iODBC SDKs are available free of charge from the iODBC web site, released under the GNU Library General Public License (LGPL). The SDKs are made up of include files (.h), libraries for the corresponding platform, and a sample application for testing and demonstration (odbctest). The sample application is an Interactive Dynamic SQL Interpreter. Its sources are included for your use as you see fit.

There are no drivers included with the iODBC SDK, but you can find many on the OpenLink web site and from other third party middleware vendors.

You can find below a set of URLs for the right iODBC SDK regarding the platform (which is the operating system and the CPU) you are targeting at iodbc.org.

Table of Contents

14.1. iODBC SDK on Unix
14.2. Configuring Data Sources
14.2.3. The Configuration Files
14.2.4. Making a Test Connection
14.2.5. Compiling Sample Program
14.2.6. Developing ODBC Applications
14.2.7. Further Reading:
14.3. Linking iODBC and ODBC Applications on Mac OS
14.3.1. Mac OS Classic
14.3.2. Mac OS X
14.3.3. References
14.3.4. Porting Mac OS Classic ODBC applications to Mac OS X