> From: Ben Combee <[EMAIL PROTECTED]>

> Try replacing the call to DmQueryRecord with a call to 
> DmGetRecord followed by DmReleaseRecord.  

I hope that wasn't meant seriously, at least not as a general advice. 

To point out just two issues: You cannot use DmGetRecord on read-only
databases, and you cannot use it more than once on the same record.

DmQueryRecord is essentially a read-only fileopen. Obviously, what is
needed is a matching fileclose. Why PalmSource has not introduced such a
(glue) function with the introduction of the NFVS cache eludes me.

Switching to a read-write approach instead is the worst possible
solution.

Regards,
Andreas
www.LinkeSOFT.com


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

Reply via email to