Need NT 4.0 EnumProcesses() example
Posted on 1998-06-24
I am trying to kill a "hung" application process in NT. This process is an ActiveX .EXE so it runs independently. As this process does not have a GUI, I am trying to check to see if it is running and if so, get its process ID using the PSAPI.DLL functions. I think I have the PSAPI.DLL file itself, but I need an example of how to use this DLL to check for a running process and how to get the process ID.