This is an excellent idea thank you very much.
However is not working, I am setting my alarm before
the hotsync which sets it right but then in pilot main
i have if (cmd = sysAppLaunchCmdDisplayAlarm)
then i call my application, well i never get to this point
why is this?
Isnt is suppose to send this launch code to my application.
I have several databases in my applications so when i use
dbID = DmFindDatabase(0, "BarcodesDatabase");
AlmSetAlarm(0,dbID,0,TimGetSeconds()+15,0);
what database name should i use
Thanks
At 10:06 AM 09/16/1999 -0700, you wrote:
>> Thank you all for your input in to solve my problem.
>> I got my application, to succesfully call hotsync,
>> however, when the sync is done, my application
>> is not getting back a launch code that a sync
>> was done, so I am not being able to call my
>> application again, right after a hotsync.
>> Any other ideas?
>
>Post the key to start HotSync, then set an alarm to go off in 15 seconds.
>Then, go into your event loop which will return an appStopEvent.
>
>HotSync will run. While it is running, alarms are deferred. The alarm will
>go off when either:
> The sync finishes successfully.
> The sync doesn't finish successfully, and the user dismisses the alert
>notifying him/her of that fact.
>
>When your alarm is called, launch your app.
>
>
>Neil
>
>
>