The ODBC sample program is located in %SQLANYSAMP12%\SQLAnywhere\C. A batch file (shell script for Unix) is included that can be used to compile and link all the sample applications located in this folder.
Open a command prompt and change the directory to the %SQLANYSAMP12%\SQLAnywhere\C directory.
Run the build.bat or build64.bat batch file.
For x64 platform builds, you may need to set up the correct environment for compiling and linking. Here is an example that builds the sample programs for an x64 platform.
set mssdk=c:\mssdk\v7.0 build64
Open a command shell and change the directory to the samples-dir/SQLAnywhere/C directory.
Run the build.sh shell script.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|