Rob wrote:
My application (Butler) is crashing in two scenarios

1) After I run flyzip's stability test (at the end immediately after the defrag)
2) After some hotsyncs on the treo650 (some users only)


I use notifications extensively and point them to functions rather than going through launch codes as I assume it's faster (and I'm registering for eventDequeuedNotification')

Is this a dengerous programming technique? Could the Operating system be moving my application to a different place and not updating my notification registration?

I get the error Emul68KMAin.c, line:403, illegal instruction 792C at address 1116ADBC (final address changes)

Should I stick to notifications through launch codes - or is there a way to find out if my db is moved and re-register before an event is diverted to a non-function?

Thanks in advance,

Rob
Have you taken any measures to make sure that your code segment is locked? If you use function callbacks for notifications the code segment must be locked or the system may move it. If you are the current forground app then the system does this for you, but if not you must do this yourself.


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

Reply via email to