Hi Alexander,

I found it meanwhile and it is really what your code points to - selection
of the heap. Dynamic heap gets cleared on reset - storage heap must be used
instead. I should have noticed it earlier.

Call to MemHandleSetOwner in my original code might be unnecessary - have to
verify it yet.

> Note that such DBs can cause trouble for backup applications.

We are building a file manager. So we do not create such databases, but
would like to handle the existing cases. I just verified that the technique
works for NetFront (has one record of 1.5 MB) - I was able to zip/unzip it
or copy between the memory and the card.

Best regards,
    Jan Slodicka


----- Original Message ----- 
From: "Alexander R. Pruss" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Tuesday, May 24, 2005 6:14 PM
Subject: re: DB records larger than 64K


> I use the following bunch of code in ClieSkinner/SkinDIA/SkinTW for
creating a big resource.  The code is quite reliable--I haven't had a bug
report traceable to this code area since last summer.  You can no doubt
modify it for a big record.  Note that such DBs can cause trouble for backup
applications.  Feel free to use under the BSD 2-clause license at the end
(closed source use is OK).


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

Reply via email to