本课介绍如何建立应用程序文件。
创建文件 c:\tutorial\main.htm。
在本教程后面的内容中,将向 main.htm 添加更多逻辑。目前,您只需设置此文件,以包括一个特定于平台的文件 ul_deps.html。
将以下内容添加到 main.htm:
<html> <body> <a href="AG_DEVICEOS/ul_deps.html"></a> </body> </html> |
创建特定于平台的文件 ul_deps.html。
此文件为不同的操作系统引用特定的二进制,如下所示:
Windows c:\tutorial\WIN32_OS\ul_deps.html
<!-- WIN32_OS\ul_deps.html --> <html> <a href="ulpod12.dll"></a> <a href="tutorial.udb"></a> </html> |
Windows Mobile c:\tutorial\WIN32_CE\ul_deps.html
<!-- WIN32_CE\ul_deps.html --> <html> <a href="AG_DEVICEPROCESSOR/ulpod12.dll"></a> <a href="tutorial.udb"></a> </html> |
对于 Windows 和 Windows Mobile,将 UltraLite Pod 文件 ulpod12.dll 复制到 tutorial 目录。
对于 Windows 桌面操作系统,将 ulpod12.dll 从 %SQLANY12%\UltraLite\UltraLiteForMBusinessAnywhere\win32\386 复制到 c:\tutorial\WIN32_OS\。
对于 Windows Mobile,将 ulpod12.dll 从 %SQLANY12%\UltraLite\UltraLiteForMBusinessAnywhere\CE\Arm 复制到 c:\tutorial\WIN32_CE\arm\。
现在已将所有应用程序文件放在适当位置。
![]() |
使用DocCommentXchange讨论此页。
|
版权 © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |