Stop Process Cleanly
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?
Related Article: GetPixel() from Another Process
is a solved C++ discussion thread by Trepach that has 6 replies, was last updated 2 years ago and has been tagged with the keywords: 2008, getpixel, hwnd, process, studio, visual.
triumphost
Practically a Master Poster
630 posts since Oct 2009
Reputation Points: 59
Solved Threads: 56
Skill Endorsements: 1
deceptikon
Challenge Accepted
3,500 posts since Jan 2012
Reputation Points: 822
Solved Threads: 481
Skill Endorsements: 58