My application stores various data in a record.  I need to access various
pieces of this record several times in my application.

MemHandle recordH = DmQueryRecord(myDB, index);
MyRecordStruct *recordP = MemHandleLock(recordH);
MemHandleUnlock(recordH);

My question is:  Can I still access the data via recordP or is the pointer
no longer valid.  I would rather simply copy all the data from the record at
one time than open the record over & over again to access the necessary
data.  Any ideas on how I should go about this?  I'm still kind of fuzzy on
how all handles/pointers work.

Thanx.


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

Reply via email to