ASA Programming Guide
ODBC Programming
ODBC samples
The ODBC sample program in Samples\ASA\C includes a batch file (shell script for UNIX) that can be used to compile and link the sample application.
To build the sample ODBC program
Open a command prompt and change directory to the Samples\ASA\C subdirectory of your SQL Anywhere directory.
Run the makeall batch file or shell script
The format of the command is as follows:
makeall api platform compiler
The parameters are as follows:
API Specify odbc to compile the ODBC example rather than an embedded SQL version of the application.
Platform Specify WINNT to compile for Windows operating systems.
Compiler Specify the compiler to use to compile the program. The compiler can be one of the following:
WC use Watcom C/C++
MC use Microsoft Visual C++
BC use Borland C++ Builder