hello,
how in an console application detect that the user click on the "End" process in the task scheduler ?
i try to setup SetConsoleCtrlHandler, but unfortunatly it's seam to not work (but curiously it's work in the task manager)
i also try to catch the wm_quit or wm_close without any success ...
thanks for you help !