on 7/04/00 21:40, Paul Nevai at [EMAIL PROTECTED] wrote:

> MemPtrUnlock (memoRecTxtP);
> 
> or
> 
> MemHandleUnlock (memoRecH);
> 
> is better? Thanks! Best regards, Paul

I had asked this question to roger flores at a previous Palm developer
conference, ans his answer was that since MemHandleUnlock was in turn
calling MemPtrUnlock, it made no difference you are using one or the other
as long as it is pertinent to the type of block you are unlocking.

>From a performance standpoint, though, it makes more sense to use
MemPtrUnlock directly since MemHandleUnlock calls it anyway.

-- 
Florent Pillet, Code Segment       [EMAIL PROTECTED]

BrainForest, outlines and action items for Palm OS handhelds
   -> Aportis Technologies Corp.     http://www.aportis.com/
PowerGlot, the premier localization tool for Mac OS software
   -> PowerGlot Software           http://www.powerglot.com/
Palm Buddy, MacOS active link companion for PalmOS handhelds
   -> ...and other tools... http://perso.wanadoo.fr/fpillet/


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

Reply via email to