Hi Sriram,

You are almost certainly overwriting an array.  Check all the arrays which
are close to your char array and make sure you do proper bounds checking.

Regards,

On 19/02/07, V. Sriram <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm working on Treo 180 running Palm OS ver 3.5. I'm having trouble with
> one of the global variables(it is a char array of size 60)which gets
> corrupted after running the application for a while. I've declared the
> variable in EXTRA_SECTION_TWO and the variable gets called from a function
> also declared in EXTRA_SECTION_TWO.
> Can anyone tell me how does the variable get corrupted all of a sudden.
> The variable gets its value from a lstSelectEvent(It gets the value
> correctly here) and it is used in another function where SOMETIMES it gets
> corrupted.
> Please let me know if further details are reqd.
>
> awaiting response
> thanks and regards,
> sriram
> --
> For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>

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

Reply via email to