Bob, or anyone else that can answer it...
    are there any limitations to the type of code, or actions that can be 
taking, outside of not using globals or static locals in responce to 
sysAppLaunchCmdDisplayAlarm?

-- 


Scott Erickson
Software Development Team, FB-4, Inc.
[EMAIL PROTECTED]
"Scott Erickson" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>    Heres the deal.  Im using an alarm to let the user set a auto update 
> setting.  For example, they can set it to update the virus def file every 
> 1 hour.  Right now I have it set to around 1min.  when i activate the 
> alarm, it works fine ONLY if the app is already running.  if im at the 
> menu, or any other app, it just gives a soft reset when the alarm is 
> triggered.  If i turn it on, and sit at the apps home screen, the alarm is 
> triggered, it does the silent update, and the user cant even tell it did 
> anything, but the update logs show that it did run the update.  in 
> pilotMain() i am handleing both types of launch codes for the alarms, 
> sysAppLaunchCmdAlarmTriggered - which i just use a function call do 
> cmdPBP->purgeAlarm = false;, and then sysAppLaunchCmdDisplayAlarm: calls a 
> function to run the silentUpdate.  In silentUpdate, there is no use of 
> Forms or any type of UI interaction or global variables, basicly just a 
> netlib open call and a few socket calls to download the new virus def 
> file, and some stuff to process the new file. I also dont have any static 
> local variables in the code it tries to execute after the alarm.  Any 
> ideas for the soft reset when the app isnt running?
>
> -- 
>
>
> Scott Erickson
> Software Development Team, FB-4, Inc.
> [EMAIL PROTECTED]
>
> 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to