Kill process by Title name (not process name).
Posted on 2004-10-31
Hi, i'm making a program that terminates other processes by there window title. I'm having dificulties getting a process list and then getting the titles of them all.
Note: I dont need the process name, cuz its not certain that it will always be the same.
The general idea of the program is, it looks through the procsess list and then checks a MySQL database to se if theres any rows there teling the program to kill anyone of thees processes. The rows contain the title name, cuz thay usaly never change when it comes to games and sutch.
I got the SQL part done and its working really good together with ODBC, but i havent figured the process thing out yet, and im having a hard time doing it.
If any one got a better idea on how to kill a special program/process, be free to tell me.