Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere Server - Programming » Embedded SQL » Sample embedded SQL programs


Building the sample programs

Files to build the sample programs are supplied with the sample code.

  • For Windows, use build.bat or build64.bat to compile the sample programs.

    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
  • For Unix, use the shell script

  • For Windows Mobile, use the esql_sample.sln project file for Microsoft Visual C++. This file appears in \SQLAnywhere\CE\esql_sample.

This builds the following examples.

  • CUR   An embedded SQL static cursor example.

  • DCUR   An embedded SQL dynamic cursor example.

  • ODBC   An ODBC example. This is not an embedded SQL example and is described elsewhere.

 See also