This is taken from the Palm Knowledge base (http://oasis.palm.com/dev/kb/manuals/1780.cfm):
You do not have access to global variables or code outside segment 0 (in a multi-segment application) when you respond to the launch codes (sysAppLaunchCmdAlarmTriggered and sysAppLaunchCmdDisplayAlarm). What does the 'code outside segment 0 (in a multi-segment application)' bit mean? In my code (where it handles ysAppLaunchCmdAlarmTriggered) I call a couple of functions in a library file that is linked with my project, would this be outside segment 0? (It doesn't seem to like it anyhow) . Also these functions probobly use variables global to the library (which probobly violates 'You do not have access to global variables' anyway ;o). So what code is inside segment 0, how do I make sure its inside segment 0? Is it refering to memory addresses? (like code at addresses of below 64K or somthing?). Also what happens to code/memory when my program ends, does the code remain in memory, is the code (things on the stack?) always loaded? So many questions! Thanks for anything in advance... Chris -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
