When you are done using the handle to the record free the memory.  You can do as many 
DmGetRecords as you'd like, they will return new handles to new records.

-Drew Tennenbaum

>>> [EMAIL PROTECTED] 07/27/00 08:35AM >>>
So, after every h=DmGetRecord(db, r), I should do a MemHandleFree(h)?
But if I do that, I can't do anymore DmGetRecord(db, r)

Richard Hartman wrote:
> 
> Your are not allocating memory for the chunk you are using, but you
> are kind of laying claim to it for a while.  Yes, you should release
> the record handle when you are done with it.

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



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the TenFold Postmaster ([EMAIL PROTECTED])
**********************************************************************

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

Reply via email to