0

How can I stop a process cleanly given it's name?

I can use TerminateProcess but it says it does not allow the application to clean up and of course I want it to clean up. This application does not have a WM_CLOSE or WM_QUIT.. I tried.. and I cannot send it PostMessage(HWND, WM_QUIT, 0, 0);

Why? because instead of it closing, it will minimize to system tray -__-

Again I don't want to use a dirty thing like TerminateProcess so does anyone have any ideas?

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by deceptikon
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.