Deploying the ActiveSync provider for UltraLite

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 [external link] http://www.sybase.com/detail?id=1002288.

 Install ActiveSync applications
  1. 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.

  2. 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
    Note

    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.

  3. Restart your computer so ActiveSync can recognize the new provider.

  4. Enable the MobiLink provider.

    1. From the ActiveSync window, click Options.

    2. Check MobiLink Clients in the list and click OK to activate the provider.

    3. To see a list of registered applications, click Options, click MobiLink Clients, and click Settings.

 See also