Martin Elzen wrote: > > Whenever I've seen bus error exceptions, it's usually been thru some kind of > invalid memory access attempt. Have you always ensured that MemPtrNew > returned non-null pointers before using them? Have you checked all new > functions of your own that use pointers to manipulate variables? Have you > checked that any returned pointers don't by accident refer to objects that > were allocated on the stack? Have you made sure that all calls to Palm OS > functions that use pointers to return results don't by accident pass NULL > pointers? > > It might be a good idea to use ErrNonFatalDisplayIf 's liberally thru any > new code of yours to ensure that you haven't made any mistakes in other > places due to typo's etc. ... Anyway, HTH. >
Thanks for your help. I've tracked it down, it being caused by writing to global variables that don't exist (since my app is kicked off by the gsmAppLaunchCmdEvent launch code). Very annoying, since I'm trying to use external libraries, etc. Steve -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
