If I have

MemHandle currentMemoRecH = DmQueryRecord (MemoDB, 0);
Char * txtP = MemHandleLock (currentMemoRecH);
DmDeleteRecord (MemoDB, 0);

then s it necessary to do a

MemPtrUnlock (txtP);

job?

#############################################################################
What about this, when I am not sure what's happening with txtP. Is this a
good way to proceed?

if (MemHeapCheck (MemPtrHeapID (txtP)) == errNone)
    MemPtrUnlock (txtP);

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

Reply via email to