このレッスンでは、アプリケーション・ファイルを設定する方法について説明します。
ファイル 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.htm
<!-- WIN32_OS\ul_deps.html --> <html> <a href="ulpod11.dll"></a> <a href="tutCustomer.udb"></a> </html> |
Windows Mobile c:\tutorial\WINCE_OS\ul-deps.htm
<!-- WINCE_OS\ul_deps.html --> <html> <a href="AG_DEVICEPROCESSOR/ulpod11.dll"></a> <a href="tutCustomer.udb"></a> </html> |
Palm c:\tutorial\PALM_OS\ul-deps.htm
<!-- PALM_OS\ul_deps.html --> <html> <a href="ulpod11.prc"></a> <a href="tutCustomer.pdb"></a> </html> |
Ultra Light Pod ファイル (Windows および Windows Mobile の場合は ulpod11.dll、Palm の場合は .prc) を tutorial ディレクトリにコピーします。
Windows デスクトップでは、ulpod11.dll を install-dir\UltraLite\UltraLiteForMBusinessAnywhere\win32\386 から c:\tutorial\WIN32_OS\ にコピーします。
Windows Mobile では、ulpod11.dll を install-dir\UltraLite\UltraLiteForMBusinessAnywhere\CE\Arm から c:\tutorial\WINCE_OS\arm\ にコピーします。
Palm OS では、ulpod11.prc を install-dir\UltraLite\UltraLiteForMBusinessAnywhere\Palm\68k から c:\tutorial\PALM_OS\ にコピーします。
すべてのアプリケーション・ファイルが配置されました。
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |