You must lock a database record to get a pointer to it.  You need the
pointer to write to the database.  You lock a record by calling
MemHandleLock with the record's handle.  Each MemHandleLock call must be
balanced by a MemHandleUnlock call.  The records must also be released,
generally using DmReleaseRecord.  Hope this helps!
Regards,
Steve

-----Original Message-----
From: Jason Simpkins [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 4:54 PM
To: Palm Developer Forum
Subject: Database problem


When running my app on the POSE, I get an error "Records left locked in a
closed unprotected database"  I have no idea why it is saying this.  Have do
I unlock these records?  I didn't know I did lock them.

Thanks,
Jason



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

-- 
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