>
> You might want to consider that even if you can use MemPtrUnlock
> on a pointer that comes from a locked handle -today-, it is quite possible
> that
> this may no longer work in the future. If you allocate a handle, free a
> handle. If you allocate a pointer, free a pointer.
>
The sole use of MemPtrUnlock is to unlock a pointer coming from a locked
handle. I can't see it changing.
Of course, it could be that, with some rewrite of the memory manager,
MemPtrUnlock were *slower* than MemHandleUnlock, rather than today, where
it's a tad faster.
Given all that, though, I, too, use MemHandleUnlock, since I find my code
more readable that way.
Neil
--
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA 92374
(909) 793-5995 [EMAIL PROTECTED] fax: (909) 793-2545
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html