UltraLite Static C++ User's Guide
Developing UltraLite Applications for Windows CE
This section contains instructions pertaining to building UltraLite applications for use under Microsoft Windows CE.
For a list of supported host platforms and development tools for Windows CE development, and for a list of supported target Windows CE platforms, see Supported platforms for C/C++ applications.
You can test your applications under an emulator on most Windows CE target platforms.
The recommended development environment for Windows CE at the time of writing is Microsoft eMbedded Visual C++ 3.0. This development environment is available from Microsoft as part of eMbedded Visual Tools.
You can download eMbedded Visual C++ from the Microsoft Developer Network at http://www.microsoft.com/mobile/downloads/emvt30.asp.
A sample eMbedded Visual C++ 3.0 project is provided in the Samples\UltraLite\CEStarter directory under your SQL Anywhere directory. The workspace file is Samples\UltraLite\CEStarter\ul_wceapplication.vcw.
When preparing to use eMbedded Visual C++ for UltraLite applications, you should make the following changes to the project settings. The CEStarter application has these changes made.
Compiler settings:
Add $(ASANY9)\h to the include path.
Define appropriate compiler directives. For example, the UNDER_CE macro should be defined for eMbedded Visual C++ projects.
Linker settings:
Add "$(ASANY9)\ultralite\ce\processor\lib\ulrt.lib"
where processor is the target processor for your application.
Add winsock.lib.
Choosing how to link the runtime library