Terminating Application
- From: "Mehran Ziadloo" <mehran20@xxxxxxxxxxx>
- Date: Thu, 11 Aug 2005 13:49:04 +0430
Hi,
Does anyone know how can I terminate an SDI application?
To explain my situation, I'm trying to make an error handling mechanism and
for some critical situations I have to terminate the whole application since
it can't carry on anymore. I want to do this somehow that my classes
destructors are called too. I have tried sending WM_CLOSE to the project's
main window but it can't work out since I don't want my code execution flow
to carry on after I sent this message (it makes unhandled exceptions). I
would like something like exit(0) but it won't let the classes to do their
destructing tasks.
Does anyone have any idea?!
Thanks,
Mehran Ziadloo
.
- Follow-Ups:
- Re: Terminating Application
- From: Mehran Ziadloo
- Re: Terminating Application
- From: Alexander Grigoriev
- Re: Terminating Application
- From: Ian Semmel
- Re: Terminating Application
- From: Tom Serface
- Re: Terminating Application
- From: Joseph M . Newcomer
- Re: Terminating Application
- Prev by Date: Re: Changing default text colour on MFC group box...
- Next by Date: crash when terminating
- Previous by thread: Re: Default brush?
- Next by thread: Re: Terminating Application
- Index(es):
Relevant Pages
|