Hi,
I know this has been thru the list before but I couldn't make sense of the
replies. (SysAppLaunch posted 15th Sept 1999).
I am trying to do is to force a hotsync in the middle of my application
(hopefully off screen), that is on one of my form, click a button, force a
hotsync, and goes to another form.

Here's what I do, when form1button is pressed:
SysCurAppDatabase(&cardNo, &dbID);
DmGetNextDatabaseByTypeCreator(true,&syncState,sysFileTApplication,'sync',tr
ue,&syncCardNo,&syncDbID);
        AlmSetAlarm(0,dbID,0,TimGetSeconds()+15,true);
        SysAppLaunch(syncCardNo,syncDbID,0,0,0,&result);

And in my PilotMain, I've got it checking for
If  (cmd== sysAppLaunchCmdDisplayAlarm);
        FrmGotoForm(form2);

When I test this, after pressing form1button, the HotSync initial screen
displays I figured I have to click the localSync, but this causes my palm
and palm desktop to crash.
I guess I'm coding something really silly here, so could someone point me
the right step.

Many thanks,
Trung

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to