Windows shutdown

I want my application to save some stuff to file and close when the user shuts down windows. How can I do this?
thanks

Comments

  • : I want my application to save some stuff to file and close when the user shuts down windows. How can I do this?
    : thanks
    :
    I wrote a very small component for this. You can download the source for it from http://www.mannsoft.ca/source.php if you want (TQueryEndSession is the component)
  • Catch the WM_DESTROY message that Windows sends an application to close it.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories