When the HotSync Button Is Pressed
We left off in the previous discussion ready to exchange information between the conduit on the desktop and the handheld unit. Let’s continue walking through the chain of events (see Table 15-1).
Table 15-1. When the HotSync button is pressed
|
Action (by the user or by the system) |
What is happening programmatically |
|---|---|
|
The Sync Manager gets the conduit name so that it can display information in the Status dialog box. |
|
|
The Sync Manager prepares to sync by passing the synchronization off to the conduit. |
The conduit’s DLL is loaded into memory and its
|
|
The conduit registers with the Sync Manager. |
|
|
The conduit notifies the log that syncing is about to start. |
Conduit calls |
|
The conduit opens the remote order database on the handheld. |
Conduit calls |
|
The user sees that the Sales application is being synced. |
All the data is written from the handheld to the desktop. |
|
The conduit closes the remote database. |
Conduit calls |
|
Conduit calls | |
|
The conduit ... |