Oh, I'm sorry to hear that. But I don't get error with
that code. 
Have you tried debug the code line: 
DmCloseDatabase(PatientDB);
I think it make error if LocalID PatientDB not exit.
again, You use C or C++ to develope your application?

--- Rathaiah <[EMAIL PROTECTED]> wrote:
> Thank U Very much .
> 
> But I 'm facing one exception like "unallocating
> chunk of memory" .
> 
> Thanks and regards
> rathaiah
> 
> 
> -----Original Message-----
> From: Vo Le Phu Quy [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 2:56 PM
> To: Palm Developer Forum
> Subject: Re: when Press the button , How to exit
> from my Palm Application.
> 
> I edited your code below, hope will solve your
> problem
> Cheers,
> 
> --- Wojciech Godynski
> <[EMAIL PROTECTED]> wrote:
> > Search the list for word exit, you will find it.
> > Rathaiah wrote:
> >
> > >
> > >Hai Friends
> > >I  developed one palm application, that
> > application  have  one button name
> > >"exit"
> > > when I press  the button 'exit'  button , need
> to
> > close my application and
> > >come out to Palm desktop.
> > >I wrote the code for that button ,
> > >like the following , but  I got  an error and
> empty
> > screen   when I prees
> > >the Exit button.
> > >///*************Exit Button event
> > Handling************///////////
> > >   case ctlSelectEvent:
> > >   {
> > >      switch(event->data.ctlSelect.controlID)
> > >     {
> > >        case PatientListExitButton:
> > >          {
> > >            DmCloseDatabase(PatientDB);          
> 
>                EventType fakeEvent;
>                fakeEvent.eType = appStopEvent;
>                EvtAddEventToQueue(&fakeEvent);
> > >          }
> > >}
> > >///************************//////////////
> > >
> > >any one knows please help me.
> > >Advance thanks
> > >Thanks and Regards
> > >rathaiah
> > >
> > >
> > >
> >
> >
> >
> >
> > --
> > For information on using the Palm Developer
> Forums,
> > or to unsubscribe, please see
> http://www.palmos.com/dev/tech/support/forums/
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant
> messaging with Yahoo! Messenger
> http://im.yahoo.com
> 
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe,
> please see
http://www.palmos.com/dev/tech/support/forums/


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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

Reply via email to