Windows Mobile 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 to minimize the size of the downloaded executable, after the initial download.
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.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |