Is it possible to use POL objects inside the procedure which is call when an procedure alarm is triggered? I will use the function AlmSetProcAlarm to set this alarm.
-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Ben Combee Envoy� : mercredi 19 mai 2004 09:51 � : Palm Developer Forum Objet : Re: AlmSetProcAlarm At 02:23 AM 5/19/2004, you wrote: >I use the function AlmSetProcAlarm to set a procedure alarm in an >Application A. >If the user is executing another application B at the time the alarm is >triggered, is it possible for the OS to call the procedure of A? Yes, but you need to make sure that the code section that contains the code in application A is locked down in memory. This involved using an extra MemHandleLock on the code section in the application that has the alarm, and then protecting the database that holds those code resources. Also, when the OS calls A, A's code won't have access to global variables. -- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
