app kill

This is a discussion on app kill within the C++ Programming forums, part of the General Programming Boards category; i have written a program that runs some system commands and then opens another app to do something.
The problem ...

ExitProcess is they "safe" way of exiting a process whereas TerminateProcess will kill an app without taking any consideration to what killing an app may do. If you want to guarantee that an app will die and you know that doing so won't cause a memory leak I actually prefer using TerminatProcess.