Dear Tim: Thank you very much for your help. My application is working now. Best Regards Padmini Paladugu
Subject: Re: Quitting the running application From: "Tim Kostka" <[EMAIL PROTECTED]> Date: Sat, 17 Apr 2004 21:11:10 -0400 X-Message-Number: 15
Look at the statement which produces the fatal error. It sounds like it's in your StopApplication() function.
Also, you may find it easier instead of calling this function to simply add
an appStopEvent to the queue and let the application exit naturally since it
must handle this event anyway.
-- Tim Kostka http://www.nuprograms.com
"Padmini Paladugu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Dear Friends: I am developing a game application.In that application if the users wants to quit the game he should be able to do so. I have a Menu bar..In the options If select the quit menu the form will popup with Quit button and cancel button. If I tap the quit button..I need to quit the application..I want to go to the home screen. I am calling StopApplication method when tap on the quit button.. Stop application frees all the memory ,closes all forms , and closes all data bases,stores preferences. But,If I tap the quit button ,I am seeing the Fatal alert:Invalid memory chunck pointer. Can Anybody please help me what am i supposed to do to close the application. My code looks like this.. case QuitButton: //InitialState(); StopApplication(); handled=true; break; Best Regards Padmini
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
