Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - C 及 C++ 编程 » 应用程序开发 » 开发用于 Windows Mobile 的 UltraLite 应用程序

 

部署 Windows Mobile 应用程序

在编译用于 Windows Mobile 的 UltraLite 应用程序时,可以静态或动态地链接 UltraLite 运行时库。如果动态地进行链接,则必须将所使用平台的 UltraLite 运行时库复制到目标设备中。

♦  使用 UltraLite 运行时 DLL 构建和部署应用程序
  1. 预处理代码,然后使用 UL_USE_DLL 编译输出。

  2. 使用 UltraLite 导入库链接应用程序。

  3. 将应用程序可执行文件和 UltraLite 运行时 DLL 都复制到目标设备。

    UltraLite 运行时 DLL 位于 SQL Anywhere 安装目录的 \ultralite\ce 子目录下芯片特定的目录中。

要为 Windows Mobile 模拟器部署 UltraLite 运行时 DLL,请将该 DLL 放在 Windows Mobile 工具目录下的相应子目录中。以下目录是 Pocket PC 模拟器的缺省设置:

C:\Program Files\Windows CE Tools\wce300\MS Pocket PC\
emulation\palm300\windows