I'm creating a small, console app to close a running process (utorrent.exe).
I was wondering how i would go about doing that... TerminateProcess, ExitProcess, some sort of system() control?
Any input would be appreciated.
Printable View
I'm creating a small, console app to close a running process (utorrent.exe).
I was wondering how i would go about doing that... TerminateProcess, ExitProcess, some sort of system() control?
Any input would be appreciated.
Use TerminateProcess.
But it is not a clean termination.
Certain resources held by the process may become corrupt.