Lesson 1: Build and run the CustDB application

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

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

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

    2. Compile the source code.

  2. Run the CustDB application:

    1. Deploy the CustDB executable file to the mobile device.

    2. Deploy the UltraLite CustDB database to the mobile device.

    3. Run the CustDB executable file.

UltraLite for Windows 32-bit desktop

You do not need to build the CustDB application before running it.

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

UltraLite for C/C++
  • All versions of C/C++   You can find multiple versions of the C/C++ CustDB project file because of the many C/C++ development environments. Most versions make use of the generic files. These files are located in the samples-dir\UltraLite\Custdb directory.

    For information about all versions of C/C++ CustDB applications, see samples-dir\UltraLite\Custdb\readme.txt.

  • CodeWarrior for Palm OS   You can find the project files in the samples-dir\UltraLite\CustDB\cwcommon and samples-dir\UltraLite\CustDB\cw directories.

    For more information about building the C/C++ CustDB application, see Building the CustDB sample application in CodeWarrior.

  • Visual Studio   You can find project files in the samples-dir\UltraLite\CustDB\vs7 and samples-dir\UltraLite\CustDB\vs8 directories depending on your version of Visual Studio. To build and run the CustDB application, follow the instructions given in the beginning of the lesson.

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 Mobile using eMbedded Visual C++, see Building the CustDB sample application.

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 Mobile using Visual Studio.NET, see samples-dir\UltraLite.NET\CustDB\ce\ReadMe.html.

To obtain deployment directory information for Microsoft Windows desktop, and 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 to Windows Mobile, Windows, and Palm OS.