Donald C. Kirker wrote:

Can anybody help me? I found that a fatal exception occurs at StrCopy in
SARreassemble, but other than that, I am clueless.

-Donald




if (MemPtrSize(buf) < (offset+tmp->size)) MemPtrResize(buf, offset+tmp->size); StrCopy(buf+offset, tmp->data); offset += tmp->size;

You thought about the "\0" character which StrCopy adds to the end of your data? So for a 3 character string you will need 4 bytes space.

Regards
Henk

--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS � certified developer

  Please contact me, if you need an off-side contract worker.
-------------------------------------------------------------------------

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

Reply via email to