there are two possibilities I can think of:
1) a bug in your code. since you are using char pointers you may not be
allocating enough memory to one or both or even somewhere else in your code.
2) you have the compiler optimizations turned on while your are debugging
(which might cause variables to seem altered)
----- Original Message -----
From: "Shoeb" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 4:53 AM
Subject: RE: Help ! Debug~~@@~~~
> I think this is the problem with the debugger, actually the values would
> surely be different but does appear as same.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of I am
> johnny~
> Sent: Tuesday, July 10, 2001 1:46 PM
> To: Palm Developer Forum
> Subject: Help ! Debug~~@@~~~
>
>
> Hi all :
> I am tired to this bug ...
> In a function, I declare two char* ( str1,str2).
> str1 is all data, other str2 need get some chars from str1.
> I use MemPtrNew() renew str2 ( and renew str2's len)...
> but str1 and str2 together changing ... what's going on ?
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/