Le 10/11/2010 13:55, Alan Bateman a écrit :
Rémi Forax wrote:
The soft way to kill a process on windows to send a WM_CLOSE/WM_QUIT.
http://stackoverflow.com/questions/2055753/how-to-gracefully-terminate-a-process
Rémi
Yes, that could work for graphical/foreground applications but there
is also the issue of services or applications that don't have a UI.
For the record, I have seen several applications that aren't GUI based
that spawn an event queue
only to be gracefully killed and appearing as a task in the windows task
panel.
In general, this request to destroy a process is just one of many
things that need to be done to improve the support (and notion) of
process in the API.
Agree.
-Alan
Rémi