If I use the MemHandleFree, how can I store the data in a database? Whenever
I get back to the application, all the information is empty, and if I don’t
use the MemHandleFree I get an error.

Can you help me? 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Chin
Sent: Viernes, 17 de Febrero de 2006 04:09 a.m.
To: Palm Developer Forum
Subject: re: MemoryMgrNew

Check that your handle/pointer allocations and "frees" are paired up
correctly. One way to get your error msg is to allocate a handle with
MemHandleNew, lock it with a resulting pointer using MemHandleLock, and then
later call MemPtrFree with that pointer when you should have instead called
MemPtrUnlock with it, followed by MemHandleFree.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


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

Reply via email to