Hello. I would like to know if I must to free memory when I do a "DmQueryRecord". For example:


MyStruct *myStruct;

MemHandle h = DmQueryRecord(bdRef, index);
myStruct = (MyStruct *) MemHandleLock(h);

...

MemHandleUnlock(h); � Must I write this or: MemPtrUnlock(myStruct)?

Where must I write MemHandleFree or MemPtrFree?

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

Reply via email to