My initial bet would be that you're not closing down your form properly,
and/or aren't returning control to the previous form correctly or fully.
Check out how the datebook brings up and shuts down its form, in
DateAlarm.c. Perhaps there's a step that you are missing. (The primary
one would be calling FrmSetActiveForm to make the other app's form active
again.)
Or perhaps there's some memory corruption; you possibly using global
variables, etc. The other application is still running, so you're in its
environment and have to be polite :-)
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html