> From: Neville Bonavia
>
> Basically, I am trying to trap a palm error so that if it runs out of
> memory, instead of crushing the system, this error handler will
> be executed.
>
When your app is running, the most like cause for running out of memory is
that your app requested more memory with MemHandleNew or MemPtrNew. Both of
these functions return 0 if they can't allocate the requested memory.
Therefore, all you have to do is test the return value before attempting to
use the memory. Are you talking about something entirely different?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/