>From what you wrote nobody can tell you anything.

Show the code or at least the text of the error message.
Can't you debug it?
Is the UnpackedRecord->field unlocked?

Jan Slodicka


----- Original Message ----- 
From: "Jamie McMullin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Wednesday, March 23, 2005 10:41 PM
Subject: Memory Error To Storage Heap, Need Help


> The problem is pretty simple and probably very newbie, but I'm stuck!
>
> I am getting a memory error that crashes the program, when I try to run
this line:
>
> StrCopy(UnpackedRecord->field, TempString);
>
> UnpackedRecord->field is 21 chars
> TempString is 20.
>
> If I make a random string and put it in place of UnpackedRecord there is
no error.
>
> Therefore the problem lies in the structure pointer.  I bet this is really
obvious and I just haven't come across it yet.  :P
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


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

Reply via email to