catching console close in win32 app

Hai

AllocConsole();

a console pops up when you redirect output and use it. I'd like to know when user closes that window so I can do some cleanup
Topic archived. No new replies allowed.