delphifiremonkeyfiremonkey-fm3

How to terminate (kill) another application in a FireMonkey application?


Does someone know a solution to kill another application in FMX ? Having the name of the application to terminate, I want to be able to kill a Windows or MAC OSX application.


Solution

  • There is no option for that in FireMonkey itself. You have to use platform-specific APIs, like TerminateProcess() on Windows.