I'm using AlmSetProcAlarm to make some sort of "Background" process in a shared library. In fact a function in the library sets a proc alarm after 1 second and quits, then the "alarm" function makes event processing and background work. Ok... that worked before... I don't know on which device/OS but has worked. On all the new ones (including T|W) there is a strange behaviour of SysLibTblEntry(refNum) - it's called from the "alarm" function to get the globals. The strange thing is that when called from this function SysLibTblEntry returns *the same* pointer to the structure but all of it's fields are zero! So the globals pointer returned is also zero and... everything goes down. Any ideas?
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
