--On Monday, December 23, 2002 11:25 PM -0600 Ben Combee <[EMAIL PROTECTED]> wrote:


Your problem is that you pass the address of p to PrefGetAppPreferences
rather than the value of p.  The OS is retrieving the prefs and storing
it on the stack, which is overwriting your return address.  You try to
return to the caller, there's an invalid program counter, and you get
that errror.

Thanks again, Ben for the latest in a series of quick and helpful replies. I really appreciate that you are there (and wonder when you sleep?)



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

Reply via email to