Also, you'll need some room for nulls at the end of each string (especially if using DmStrCopy which also copies the null into the destination).
Keivn -----Original Message----- From: Mark Wilden [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 9:12 AM To: Palm Developer Forum Subject: Re: Problem packing string-only database record. From: "Nick Morton" <[EMAIL PROTECTED]> > offset += (UInt16) sizeof(circuit->idname); Think you want a StrLen in there instead of sizeof. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ ------------------------------------------ The information in this transmittal and any attachments is privileged and confidential and is intended only for the recipient(s) listed above. You are hereby notified that any unauthorized distribution or copying of this transmittal or its attachments is prohibited. If you have received this transmittal in error, please notify Invivodata immediately at (831) 438-9550. ------------------------------------------ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
