Michael Yam <[EMAIL PROTECTED]> wrote in message
news:8095@palm-dev-forum...
>
> Glad it's settled that the difference is insignificant.  I've always been
> coding using "symmetry" -- that is if I use MemHandleLock then I use
> MemHandleUnlock, even though I could use MemPtrUnlock as well.
>

I agree.  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.

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to