During development you install UltraLite onto your desktop with the SQL Anywhere installer. However, when you deploy UltraLite to the end user, you must manually install and register the ActiveSync provider on the end user's computer. This requirement ensures that ActiveSync knows when to call a specific instance of a provider for a specific application.
mlasinst.exe Installs the ActiveSync provider and registers it with the ActiveSync Manager. This utility also registers applications with the ActiveSync provider for synchronization.
mlasdesk.dll The DLL that is loaded by the ActiveSync Manager on the desktop. mlasinst.exe registers the location of this file with the ActiveSync Manager.
mlasdev.dll The DLL that is loaded by the ActiveSync Manager on the device. mlasinst.exe deploys this file to the correct location on the device.
dblgen11.dll The language resource library.
For a list of supported provider platforms, see SQL Anywhere Supported Platforms and Engineering Support Status.
To install ActiveSync applications
Ensure that the end-user has:
Run mlasinst to install a provider for ActiveSync. You can also use it to register and deploy the UltraLite application to the user's Windows Mobile device—depending on the command line syntax you use. If your UltraLite application uses multiple files, you must manually copy the required files.
The following example assumes that both mlasdesk.dll and mlasdev.dll are in the current directory. The -k and -v options are used . The -p and -x options are command line options for the application when it is started by ActiveSync.
mlasinst "C:\My Files\myULapp.exe" "\Program Files\myULapp.exe" "My Application" MYAPP -p -x -v -k |
If you were to use this utility to deploy a pre-compiled CustDB for the ARM 5.0 processor, the command line would be similar to the following one:
mlasinst -v "install-dir\UltraLite\ce\arm.50" "install-dir\UltraLite\ce\arm.50\custdb.exe" custdb.exe CustDB CUSTDBDEMO |
You can also use the ActiveSync to register your UltraLite application at a later time if you choose. See Registering applications with the ActiveSync Manager.
Restart your computer so ActiveSync can recognize the new provider.
Enable the MobiLink provider.
Registering applications with the ActiveSync Manager
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |