Thread: working example
View Single Post
Old Mar 27th, 2006, 3:41 PM   #2
bgeraghty
Newbie
 
Join Date: Mar 2006
Posts: 15
Rep Power: 0 bgeraghty is on a distinguished road
Isn't the part that it writes to a txt file unnecessary? You could just strcmp() the array of process names you get one by one inside the app and then call terminateprocess() to end it. Once you have the name/PID, grab the handle with OpenProcess() and pass it to TerminateProcess()
bgeraghty is offline   Reply With Quote