UltraLite Static C++ User's Guide
Developing UltraLite Applications for Windows CE
CustDB is a simple sales-status application. It is located in the UltraLite samples directory of your Adaptive Server Anywhere installation. Generic files are located in the CustDB directory. Files specific to Windows CE are located in the ce subdirectory of CustDB.
The CustDB application is provided as an eMbedded Visual C++ 3.0 project.
For a diagram of the sample database schema, see The UltraLite sample database.
To build the CustDB sample application
Start eMbedded Visual C++.
Open the project file that corresponds to your version of eMbedded Visual C++:
Samples\UltraLite\CustDB\EVC\EVCCustDB.vcp for eVC 3.0.
Samples\UltraLite\CustDB\EVC40\EVCCustDB.vcp for eVC 4.0.
Choose Build
Set a platform of your choice.
Choose Build->Set Active Configuration to select the configuration.
Set an active configuration of your choice.
If you are building CustDB for the Pocket PC x86em emulator platform only:
Choose Project
On the Link tab, in the Object/library modules box, change the UltraLite runtime library entry to the emulator30 directory rather than the emulator directory.
Build the application:
Press F7 or select Build
When eMbedded Visual C++ has finished building the application, it automatically attempts to upload it to the remote device.
Start the synchronization server:
To start the MobiLink synchronization server, select Programs
Run the CustDB application:
Press Ctrl+F5 or select Build
Folder locations and environment variablesThe sample project uses environment variables wherever possible. It may be necessary to adjust the project in order for the application to build properly. If you experience problems, try searching for missing files in the MS VC++ folder and adding the appropriate directory settings. |
For more information, see Pre-processing your embedded SQL files.