Copyright (C) 2001-2003 by SoftIntegration, Inc. 
All Rights Reserved.

The Ch iODBC iODBC package is a Ch binding to iODBC 
driver manager. Ch is an embeddable C/C++ interpreter.  
With Ch iODBC, all C (or C++) programs using functions in 
iODBC driver manager C API can readily run 
in Ch interpretively without compilation.
It is an ideal solution for teaching and learning ODBC,
rapid prototyping, interactive database management, and Web-based
applications.

More information about Ch can be found at
http://www.softintegration.com/.
More information about iODBC can be found at
http://www.iodbc.org/


Release Notes
--------------------------------------------
Ch iODBC 3.5, August 1, 2003 

System Requirements
--------------------------------------------
(1) Operating systems:
       Solaris 2.6 or above 
       HP-UX 10.20 or above 
       Linux (kernel 2.2.5-15 or above) 
       Mac OS X 10.1.3 or above 
(2) Ch Standard/Professional/Student Edition 
    version 3.0.0 or higher 
    Ch is available from http://www.softintegration.com.
(3) iODBC version 3.0.6. or higher.

Files in Distribution
--------------------------------------------

Ch iODBC package contains the following directories

(1) iodbc - Ch iODBC package
iodbc/demos     ---  iODBC demo programs in C ready to run in Ch
iodbc/dl        ---  dynamically loaded libraries
iodbc/include   ---  header files
iodbc/lib       ---  function files

Installation Instructions:
--------------------------------------------
Assume <CHHOME> is the directory where Ch is installed, 
for example if Ch is installed in /usr/local/ch, then /usr/local/ch 
should be used instead of <CHHOME> for instructions below.
Assume <CHIODBC_HOME> is the directory where Ch iODBC Package is installed, 
for example if Ch iODBC is installed in /usr/local/chiodbc,
then /usr/local/chiodbc should be used, instead of
<CHIODBC_HOME> for instructions below.
(1) If Ch has not been installed in your computer, 
    download and install Ch from http://www.softintegration.com
(2) Move the directory ./iodbc to <CHHOME>/package/iodbc. 
    <CHHOME>/package/iodbc  becomes the home directory of CHIODBC_HOME
    Or
    If you do not want to move the directory, you should add a new path 
    to the system variable _ppath for package path by adding
    the following statement in system startup file <CHHOME>/config/chrc 
    or individual user's startup file ~/chrc. 
        _ppath = stradd(_ppath, "../<CHIODBC_HOME>;");  
    For example, 
        _ppath = stradd(_ppath, "/usr/local/chiodbc;");  

(3) And add the system variable _ipath in system startup file indicated
    in the previous step by adding the following statement.
        _ipath = stradd(_ipath, "<CHODBC_HOME>/include;"); 
    For example, 
        _ipath = stradd(_ipath, "/usr/local/chiodbc/iodbc/include;");  
    This step will not be necessary if the following code fragment is in
    application programs.
        #pragma package <iodbc>

						      
Run Demo Programs in Directory demos:
--------------------------------------------
(1) start ch by type
        ch
(2) go to the directory CHHOME/package/iodbc/demos, run program 
    'simple.c' by type
        simple.c
