ActiveSync is software from Microsoft that handles data synchronization between a desktop computer running Windows and a connected Windows Mobile handheld device. UltraLite supports ActiveSync versions 3.5 and later.
This section describes how to add ActiveSync provider to your application, and how to register your application for use with ActiveSync on your end users' computers.
If you use ActiveSync, synchronization can be initiated only by ActiveSync itself. ActiveSync automatically initiates a synchronization when the device is placed in the cradle or when the Synchronization command is selected from the ActiveSync window. The MobiLink provider starts the application, if it is not already running, and sends a message to the application.
For more information about setting up ActiveSync synchronization, see Deploying applications that use ActiveSync.
The ActiveSync provider uses the wParam parameter. A wParam value of 1 indicates that the MobiLink provider for ActiveSync launched the application. The application must then shut itself down after it has finished synchronizing. If the application was already running when called by the MobiLink provider for ActiveSync, wParam is 0. The application can ignore the wParam parameter if it wants to keep running.
To determine which platforms the provider is supported on, see SQL Anywhere Components by Platform.
Adding synchronization depends on whether you are addressing the Windows API directly or whether you are using the Microsoft Foundation Classes. Both development models are described here.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |