the aim is to save (to file) some data when the application exits.
I want this to happen even if windows terminates the app when
windows is shutdown. Perhaps I could catch the quit message sent
to the app but I don't have any idea on how to do that.
Thanks in advance