Then you should be worried about using this approach on a Palm OS 5.x =
device.  You are creating the chunk, but the system thinks it owns it.  =
At the very least, this means that the system won't clean up after your =
application after it quits or crashes and you don't free the chunk =
yourself.  But there could be other problems, too, with the system =
thinking that it owns the chunk and not you.
AFAIK, for all current versions of Palm OS, a chunk with ID = 0 is left alone by the OS. So as Keith notes there's the issue of this memory being permanently lost (until a hard reset) if your code fails in some manner, but I'm pretty sure there aren't any issues with the OS trying to do something to the chunk behind your back.

-- Ken
--
Ken Krugler
<http://www.krugler.org>
+1 530-265-2225

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


Reply via email to