Vic Vag
January 10th, 2001, 12:04 PM
I need to exit an application from a different butto than the one already there. I have tried using the application's CloseAllDocuments(TRUE), which is supposed to do that for you , but it does not. It only closes the documents. Passign FALSE instead does not make an inch of difference. The way i have managed is to post a WM_QUIT message to the App. This works but the app actually quits without going through the deconstructurs, givng me loads of memory leaks. Any body know a was round this ?