From: "Ed" <[EMAIL PROTECTED]>
> This works ============  StrCopy(record.Date, "34857384573498573498");
>
> This fails ============= StrCopy(record.Date, encDate);
> It says that "Application just read from memory location X which is the
unused portion of the stack.  The stack is the area of RAM
>
Need to know a little more to comment usefully.

Are you using encDate in the function it's declared in or
returning it from another function?  Generally stack-based
problems are caused by returning a pointer to a local variable
which will then cause any access to that pointer to fail because
the stack area that it was defined at has been unstacked.

Chris Tutty


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

Reply via email to