Installing the MobiLink provider for ActiveSync

Before you register your SQL Anywhere MobiLink client for use with ActiveSync, you must install the MobiLink provider for ActiveSync using the installation utility (mlasinst.exe).

The SQL Anywhere for Windows Mobile installer installs the MobiLink provider for ActiveSync. If you install SQL Anywhere for Windows Mobile you do not need to perform the steps in this section.

When you have installed the MobiLink provider for ActiveSync you must register each application separately. For instructions, see Registering SQL Anywhere clients for ActiveSync.

To install the MobiLink provider for ActiveSync

  1. Ensure that you have the ActiveSync software on your machine, and that the Windows Mobile device is connected.

  2. Run the following command to install the MobiLink provider:

    mlasinst -k desk-path -v dev-path

    where desk-path is the location of the desktop component of the provider (mlasdesk.dll) and dev-path is the location of the device component (mlasdev.dll).

    If you have SQL Anywhere installed on your computer, mlasdesk.dll is in the bin32 subdirectory of your SQL Anywhere installation directory and mlasdev.dll is in a platform-specific directory in the CE subdirectory. If you omit -v or -k, these directories are searched by default.

    If you receive a message telling you that the remote provider failed to open, perform a soft reset of the device and repeat the command:

    For more information, see ActiveSync provider installation utility [mlasinst].

  3. Restart your computer.

    ActiveSync does not recognize new providers until the machine is restarted.

  4. Enable the MobiLink provider.

    For Windows versions prior to Vista:

    • In the ActiveSync window, click Options.
    • Check the MobiLink item in the list and click OK to activate the provider.
    • To see a list of registered applications, click Options again, choose the MobiLink provider, and click Settings.

      For more information about registering applications, see Registering SQL Anywhere clients for ActiveSync.

    For Windows Vista:

    • From the Windows Mobile Device Center window, click Mobile Device Settings and then click Change Content Settings.
    • Select MobiLink Clients and click Save to activate the provider.
    • To see a list of registered applications, click Change Content Settings, click MobiLink Clients, and then click Sync Settings.