If it crashes on a soft reset, it's probably the code that runs when your
app receives the reset launch code. If it also crashes on an install, it's
probably the code that runs on a sync notify launc code. That tells me the
most likely cause is some code that runs on all launch codes, probably
outside the switch statement for the launch code.

Try commenting out all code that runs outside of that switch statement as
well as any code that runs on sync notify and reset launch codes. If it no
longer crashes on install or on a soft reset after the install, then you've
narrowed down the problem.

Perhaps you're accessing globals or code in other segments. You might try an
up arrow reset rather than a hard reset. This will avoid sending the sync
notify launch code to the applications. This will almost surely let you keep
the app on the device even if it misbehaves.
-- 
Peter Epstein

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to