Hello iam VrKiller iam new on this forum :D and iam looking forward to stay here
The question is, would you like to make a example of a c++ program that terminate a process ( TerminateProcess(); )called hypkey.exe so i could see how you do it,
plz do it or go out of this thread xD
If you are that new, what gives you the right to say what we should or shouldn't do in this thread?
Have a read of this:
It tells you how to find processes and windows based on application/window name. If you can find the name of the process, you can determine if it is called "hypkey.exe", and if so, terminate it.
you mean like if i can find the id of the process i could terminate it with terminateprocess();
Correct. Or do you know of any particular reason that wouldn't work?
Originally Posted by vrkiller
I mean, the call to TerminatProcess() in itself isn't hard - you just pass in the handle of the process and some integer to represent the exit-code.
Of course, there are some security aspects too - you need to be the owner of the process or have administrator rights on the system - so you can not kill a process you are not in control of unless you are administrator.