Exiting an application
-
I want to exit an application programatically i will use exit(0); But some how i feel if i do this with MFC application, its not a good thing. Can anyone tell me is it a safe way to exit an MFC application. If any other approach is there plz let me know. Thanks a lot
-
I want to exit an application programatically i will use exit(0); But some how i feel if i do this with MFC application, its not a good thing. Can anyone tell me is it a safe way to exit an MFC application. If any other approach is there plz let me know. Thanks a lot
-
I want to exit an application programatically i will use exit(0); But some how i feel if i do this with MFC application, its not a good thing. Can anyone tell me is it a safe way to exit an MFC application. If any other approach is there plz let me know. Thanks a lot
karmendra_js wrote:
Can anyone tell me is it a safe way to exit an MFC application.
PostQuitMessage(...);
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV