Can someone provide some sample code on how to kill a running process using the PID?
I already have a function to determine if the process is running and return the PID.
This is for when a process has crashed and is still running in the background. I have an automated program that downloads new versions of code that the user can run. They have to shut down the application client to download the latest version so the DLL will register. But if a process is running in the background due to the application client crashing it will not register the dll. The safest way I believe is to kill any applicaions that are still running.
Thanks,
Keith
keithf@avxus.com
I already have a function to determine if the process is running and return the PID.
This is for when a process has crashed and is still running in the background. I have an automated program that downloads new versions of code that the user can run. They have to shut down the application client to download the latest version so the DLL will register. But if a process is running in the background due to the application client crashing it will not register the dll. The safest way I believe is to kill any applicaions that are still running.
Thanks,
Keith
keithf@avxus.com