From: "Regis St-Gelais" <[EMAIL PROTECTED]> > My main code is in segment 1 and my callback is in segment 2. > And the callback was able to read and write the global variable. > > Note that this callback is not launched by a launch code. > It is called during the normal operation of my application by my > application. > Which, by my understanding, is a whole different situation than if your callback was actioned while a different application was running. Of course this might be a callback which is only registered while your app is up and running in which case you're never going to get into dangerous territory.
A callback which is intended to remain in place after your app has terminated has to live by a whole different set of rules. Chris Tutty -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
