> myStrH = MemHandleNew (128);
> if (myStrH)
> myStrP = MemHandleLock (myStrH);
> // BUT then I never seen anyone checking if MemHandleLock () suceeded
> Is it OK to assume that once MemHandleNew ()) suceeds, then MemHandleLock
()
> will suceed too? Thanks! Best regards, Paul
It's even moot to check if MemHandleNew is successful, because presumably if
you can't allocate memory you can't do anything much with your application
anyway. Once memory is depleted, you can't even guarantee that you can
display the error message successfully and exit gracefully.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/