Anyone who knows a descent way to properly close another application? I've
been struggling with a number of api's such as TerminateProcess and more.

I need the shutdown to properly notify any DLL's so there aren't any garbage
left in memory. ExitProcess seems to do the job but how??? It only shut down
the process where I call it from.

TerminateProcess works but it seems to be a violent way to shut down.