Hey guys, well first off i'm a new member here. My question is how do you go about killing/stopping a process? Thanks, Clipper34.
Good grief. Only use [b]TerminateProcess[/b]() to kill the unruly. Otherwise, just ask it nicely: send it a WM_CLOSE message. If it doesn't respond in, say, 500 ms or so, use [URL="http://msdn.microsoft.com/en-us/library/ms682437(VS.85).aspx"][b]CreateRemoteThread[/b]()[/URL] and [URL="http://msdn.microsoft.com/en-us/library/ms682658(VS.85).aspx"][b]ExitProcess[/b]()[/URL]. If it still doesn't quit after another half-second or so, [i]then[/i] swat it with [b]TerminateProcess[/b](). Hope this … Read More