UltraLite Embedded SQL User's Guide
Developing UltraLite Applications for Windows CE
Introduction
Windows CE supports dynamic link libraries. At link time, you have the option of linking your UltraLite application to the runtime DLL using an imports library, or statically linking your application using the UltraLite runtime library.
If you have a single UltraLite application on your target device, a statically linked library uses less memory. If you have multiple UltraLite applications on your target device, using the DLL may be more economical in memory use.
If you are repeatedly downloading UltraLite applications to a device, over a slow link, then you may want to use the DLL in order to minimize the size of the downloaded executable, after the initial download.
To build and deploy an application using the UltraLite runtime DLL
Preprocess your code, then compile the output with UL_USE_DLL.
Link your application using the UltraLite imports library.
Copy both your application executable and the UltraLite runtime DLL to your target device.