KillProc : Kills processes, lists modules in the processes

Download Files

Changes

  1. Initial Version

Installation

None.

Notes

KillProc kills processes.

But first it lists all the modules in all the processes currently running !? Why? I don't know.

I was working in a multi-process environment where I had to tear down 6 or 7 processes every few minutes. I thought it would be a good idea to kill a process using it's pid. I found a snippet of code to kill a process (from the MS site?). That became very tedious, so I modified it to kill all the processes I wanted dead. Eventually, for some reason, I added code to dump out all the modules in all the processes.

Anyway, all of this is superseded by:

  1. Windows Task Manager
  2. pview (and others)
OK, maybe you can use it as a nice example of the following: Wait...these api's all have nice little examples in MSDN. This app is even more useless than I thought.




Contact me about content on this page using john_web-at-arrizza-dot-com
For Web Master or site problems contact: webadmin-at-arrizza-dot-com
Copyright John Arrizza (c) 2001,2002,2003,2004,2005,2006,2007