要将 UltraLite 应用程序部署到 Windows Mobile 设备上,必须执行以下步骤:
部署应用程序和 UltraLite 组件。请参见UltraLite for M-Business Anywhere 快速入门。
部署 UltraLite 数据库的初始副本。请参见UltraLite for M-Business Anywhere 快速入门。
在许多情况下,部署 UltraLite 数据库就足够了。您可以使用同步装载数据的初始副本。
必须将数据库放在应用程序可以找到的位置。Database On CE 连接参数为 Windows Mobile 定义了该位置。Database on Desktop 连接参数为 Windows 定义了该位置。请参见:
一键同步需要一组文件,包括:ulconnect.exe、ulconnect.udb、ulpod11.dll 和 ulrt11.dll。对于 Windows Mobile,这些文件位于目录 install-dirralite\UltraLiteForMBusinessAnywhere\ce\arm\ 中的 ulpod.cab 文件中。当您将 cab 文件部署到 Windows Mobile 设备上时,它会自动将其内容安装到正确的位置。对于 Windows,所需的文件必须从目录 install-dir\ultralite\UltraLiteForMBusinessAnywhere\win32\386\ 中手工部署。
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |