Posted by Thomas L on January 14, 2009Dear DelphiLand,
I have been successfully using ShellExecute to launch a separate exe in my delphi code (a movie player), but don't have as good a solution for terminating the player. I have been using Taskkill in a bat file, running it with ShellExecute, but it is not always reliable.
Is there a better solution for terminating a hosted exe, preferably without messing with a bat file?
Thank you very much for any help you can provide. This has been a really annoying problem.
And happy new year,