Hi
Possible reason for fatal alert
The EventType structure passed to EvtAddEventToQueue must be a const
Have you declared newEvent as a const?????
Thanks,
Santhosh
Developers' Nation DTS Engineer
Developers' Nation provides Palm OS Technical Support with a guaranteed
response time. Go to http://www.devnation.net
"soumik chowdhury" <[EMAIL PROTECTED]> wrote in message
news:52230@palm-dev-forum...
>
> hi
> pl look at this lines of code
>
> case MemoPadMainExitButton:
>
> MemSet(&newEvent, sizeof(EventType), 0);
> newEvent.eType = appStopEvent;
> EvtAddEventToQueue(&newEvent);
>
> but when the exit button is pressed a system fatal alert of the following
kind is given.
>
> "SystemMgr.c,line:4391, possible memory leak at 0x000025d0."
>
> i'm using a debug version rom image. the problem was not encountered in
the non debug version.
>
> pl help me out.
> thanx,
> soumik.
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/