The CustDB application is built for many development environments. For a general procedure that applies for all environments, see the following section.
Build CustDB application.
Open a CustDB project file in the appropriate environment.
Compile source code.
Run CustDB application.
Deploy CustDB executable file onto mobile device.
Deploy UltraLite CustDB database onto mobile device.
Run CustDB executable file.
For details on each development environment, see the following sections.
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.
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 in the samples-dir\UltraLite\Custdb\ directory.For information on 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.
CodeWarrior for Symbian OS You can find project files in the samples-dir\UltraLite\CustDB\Symbian directory.For more information about building sample applications, see Developing applications using CodeWarrior for Symbian. For instructions on building the C++ CustDB application, see samples-dir\UltraLite\CustDB\Symbian\readme.txt.
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.
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.
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.
CrossFire You can find the project file in the samples-dir\UltraLiteForAppForge\CF_CustDB directory.For instructions on building the CustDB application for Palm OS, Windows CE and Symbian OS, see samples-dir\UltraLiteForAppForge\CF_CustDB\readme.txt.
MobileVB You can find the project file in the samples-dir\UltraLiteForAppForge\MVB_CustDB directory.For instructions on building the CustDB application for Palm OS and Windows CE, see samples-dir\UltraLiteForAppForge\MVB_CustDB\readme.txt.
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.
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.