Well you can try it. Get the PID from Task Manager, and the terminate signal is 9, so if the PID is 1000 the call would be kill(1000,9); If that terminates the process then it works; if not then it doesn't.

The only way I can tell you if it works is to get DevC++ myself, install and test it, and since you already have it installed it's easier for you to do it.