This lesson describes how to set up the application files.
Create the file c:\tutorial\main.htm.
Later in the tutorial, you will add more logic to main.htm. For now, you will simply set it up to include a platform-specific file, ul_deps.html.
Add the following content to main.htm:
<html> <body> <a href="AG_DEVICEOS/ul_deps.html"></a> </body> </html> |
Create the platform-specific file, ul_deps.html.
This file references specific binaries for different operating systems, as follows:
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> |
Copy the UltraLite Pod file, ulpod12.dll for Windows and Windows Mobile to the tutorial directory.
For Windows desktops, copy ulpod12.dll from %SQLANY12%\UltraLite\UltraLiteForMBusinessAnywhere\win32\386 to c:\tutorial\WIN32_OS\.
For Windows Mobile, copy ulpod12.dll from %SQLANY12%\UltraLite\UltraLiteForMBusinessAnywhere\CE\Arm to c:\tutorial\WIN32_CE\arm\.
All application files are now in place.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |