Contents Index Introduction Lesson 2: Write an embedded SQL source file

UltraLite Embedded SQL User's Guide
  Tutorial: Build an Application Using Embedded SQL

Lesson 1: Configure eMbedded Visual C++


The following procedure configures eMbedded Visual C++ for UltraLite development. You may need to add additional library and include paths.

To configure eMbedded Visual C++ for UltraLite development

  1. Start Microsoft eMbedded Visual C++ 3.0.

    From the Start menu, choose Programs > Microsoft Visual Tools > eMbedded Visual C++ 3.0

  2. Configure eMbedded Visual C++ to search the appropriate directories for embedded SQL header files and UltraLite library files.

    1. Select Tools > Options.

      The Options dialog is displayed.

    2. Click the Directories tab

    3. For each target platform and CPU combination,

      • Choose Include Files under the Show Directories For dropdown menu. Include the following directory, so that the embedded SQL header files are accessible.

        C:\Program Files\Sybase\SQL Anywhere 9\h

        If you have installed SQL Anywhere to a directory other than the default, substitute the \h subdirectory of your installation.

      • Choose Library Files under the Show Directories For dropdown menu. Include the UltraLite \lib directory, located in a platform-specific directory. For example, for the Pocket PC emulator, choose the following:

        C:\Program Files\Sybase\SQL Anywhere 9\UltraLite\ce\emulator30\lib
    4. Click OK.


Contents Index Introduction Lesson 2: Write an embedded SQL source file