The UltraLite ActiveSync provider is a software module that let users gain access to their devices from the desktop. Like other software components, you need to deploy the necessary files to the device to ensure that UltraLite operates with Windows Mobile ActiveSync.
When you deploy UltraLite for 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.
dblgen12.dll The language resource library.
For a list of supported provider platforms, see http://www.sybase.com/detail?id=1002288.
Ensure that the end-user has:
The ActiveSync Manager installed.
The ActiveSync provider files copied from a development computer to the user's hard drive.
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 "%SQLANY12%\UltraLite\ce\arm.50" "%SQLANY12%\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.
From the ActiveSync window, click Options.
Check MobiLink Clients in the list and click OK to activate the provider.
To see a list of registered applications, click Options, click MobiLink Clients, and click Settings.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|