Yeap, you're right...
Thanks Chris
Agus
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Chris
Tutty
Envoyé : mercredi 25 juin 2003 01:22
À : Palm Developer Forum
Objet : Re: MemPtrFree - invalid chunk
From: "Agus Silas" <[EMAI
From: "Agus Silas" <[EMAIL PROTECTED]>
> In fact, I've moved the free session from the end of the AppEventLoop to
> AppStop. I thougt that I "cut" then "paste", but instead I "copy" then
> "paste", so I freed twice.
>
A good way to avoid this error, or at least prevent it
causing problems is to s
Stupid me
Agus
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Aaron
Ardiri
Envoyé : mardi 24 juin 2003 13:36
À : Palm Developer Forum
Objet : Re: MemPtrFree - invalid chunk
> do you have the pb in Debug and in Release mode?
> Perhaps
> do you have the pb in Debug and in Release mode?
> Perhaps you should resize up the stack (in project setting
> in CodeWarrior)
i dont see how making the stack larger will help him in this case. :)
he uses a global variable to store the pointer. and, he is not
allocating too much for it to cra
> When I quit my application, I got an error "Invalid Chunk ptr".
> It seems that I do not free the memory allocated correctly, but
> I don't see what is wrong in my code ???
the memory code looks fine - that should not be causing your
error to occur - most likely it is somewhere else in your
c
: Re: MemPtrFree - invalid chunk
do you have the pb in Debug and in Release mode?
Perhaps you should resize up the stack (in project setting in CodeWarrior)
- Original Message -
From: "Agus" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" &l
do you have the pb in Debug and in Release mode?
Perhaps you should resize up the stack (in project setting in CodeWarrior)
- Original Message -
From: "Agus" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, June 24, 2003 12:24