Possible Duplicate:
How to effectively kill a process in C++ (Win32)?
I am creating a program that has to do an important task - and it may (rarely) have a resource conflict with another program (let's say a.exe) that users may have inadvertently started.
What I would like to do is kill a.exe if it is running, before doing the rest of the work.
Is there any way to stop another program/process from running, from c++ (running under Windows) ?
I was hoping that there may be something in the beautiful boost...
Thank you.