What you need to do is launch the HotSync manager with either the
sysAppLaunchCmdSyncRequestLocal or sysAppLaunchCmdSyncRequestRemote command.
You can use SysAppLaunch or SysUIAppSwitch function to do it.

You can try this, but this function has not been tested.. it is something
that was written in this email and based on something written to launch
clipper.. (Please let me know if this works /grin):

Err StartLocalHotsync(UInt alertbox)
{
   Err err;
   DmSearchStateType searchState;
   UInt cardNo;
   LocalID dbID;

   // find hotsync and launch it
   err = DmGetNextDatabaseByTypeCreator (true, &searchState,
                                         sysFileTApplication,
                                         sysFileCSync, true,
                                         &cardNo, &dbID);
   if (err)
      FrmAlert(alertbox);
   else
      err = SysUIAppSwitch(cardNo, dbID, sysAppLaunchCmdSyncRequestLocal,
NULL);

 return err;
}

 (sysFileCSync is declared in SystemResources.h, by the way)

----------
Bradly J. Barton - [EMAIL PROTECTED]
Jenies Technologies Incorporated
(972) 602-1835
http://www.JTI.net
http://PalmInHand.com



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to