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/

Reply via email to