I use the following classfile to enum windows processes (see attached), but i cant find a way to teminate a process. i Tried to kill it by ProcessID (th32ProcessID) with the TerminateProcess api, but no succes. Anyone got an idea of what i am doing wrong?
Or got an exaple how to terminate applications, with this class file?
Last edited by phrozeman; Apr 7th, 2003 at 07:43 AM.
There's a certain mystique when I speak, that you notice that it's sorta unique, cause you know it's me
Cheers dude for posting the answer, even though no-one actually replied. It's very rare that happens...Cheers again...It's exactally what I was looking for...
Running on a win98 machine, the processid's appear as negative numbers. Is this OK???? I would assume the values from the processid are being shown as negative values because of some buffer overflow, but could be wrong.