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

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » Exploring the CustDB Samples for UltraLite

Finding CustDB sample files Next Page

Lesson 1: Building and running the CustDB application


The CustDB application is built for many development environments. For a general procedure that applies for all environments, see the following section.

To build and run the CustDB application
  1. Build CustDB application.

    1. Open a CustDB project file in the appropriate environment.

    2. Compile source code.

  2. Run CustDB application.

    1. Deploy CustDB executable file onto mobile device.

    2. Deploy UltraLite CustDB database onto mobile device.

    3. Run CustDB executable file.

  3. For details on each development environment, see the following sections.

    UltraLite for Windows 32-bit desktop

    You do not need to build the CustDB application before running it. Simply follow the instructions in this chapter for details on using the CustDB sample on your Windows desktop.

    You can find the CustDB executable file in the install-dir\ultralite\CustDB\win32\386 directory.

    UltraLite for C/C++
    UltraLite for embedded SQL

    You can find project files specific to eMbedded Visual C++ in the samples-dir\UltraLite\CustDB\EVC\ and samples-dir\UltraLite\CustDB\EVC40\ directories depending on your version of embedded Visual C++.

    For more information about building the embedded SQL CustDB application for Windows CE using eMbedded Visual C++, see Building the CustDB sample application.

    UltraLite for AppForge

    A CustDB project file exists for AppForge CrossFire and for MobileVB. Within each project file, subsets of files exist for different platforms. This allows you to build the CustDB application for many platforms using the same project file. You can find readme.txt files for both of these development environments. These files give development specific notes on how to load projects and deploy to any of the supported platforms.

    UltraLite.NET

    You can find project files specific to Visual Studio.NET in the samples-dir\UltraLite.NET\CustDB directory.

    For instructions on building the CustDB application for Windows CE using Visual Studio.NET, see samples-dir\UltraLite.NET\CustDB\ce\ReadMe.html.

    To obtain deployment directory information for Windows desktop as well as information on where to download additional UltraLite.NET samples, see samples-dir\UltraLite.NET\CustDB\Desktop\ReadMe.html.

    UltraLite for M-Business Anywhere

    You can find project files specific to M-Business Anywhere in the samples-dir\UltraLiteForMBusinessAnywhere\CustDB directory.

    For more information about building the CustDB application using M-Business Anywhere, see UltraLite for M-Business Anywhere Quick Start. The instructions are applicable for Windows CE, Windows and Palm OS.