> I want to launch the HotSync from within an application. I just can't
figure
> out where to find the creator id or #define for the Hotsync applicaiton.
This is third question in the last week about launching HotSync from an
application... is it something in the water? (In the code below,
sysFileCSync is declared in SystemResources.h)
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;
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/