Hi Jan,

I massage the DB record and move it to a second
buffer before working on it. The resulting record will be equal to or less than 
the original lenght. My bug with the second buffer was that it did not allow 
for the "equal to" condition.

...Richard

> It seems MemHandleSize was not including the NULL terminator in the lenght
it returned.

MemHandleSize does not know about any terminator etc. It simply returns the
real length of the allocated block.

Aren't you working with strings stored in the DB without the NULL
terminator?

Best regards,
Jan Slodicka


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

Reply via email to