Close an application
I use a command "ShellExecute" to start an application, but I don't know which commands can close this application. Thanks in advance for your help.
[153 byte] By [
ziren] at [2007-11-19 19:30:53]

# 1 Re: Close an application
Use ::CreateProcess(..) or ::ShellExecuteEx(..) which will return you handle to the created process, and with that handle you can kill the process.
Look at this FAQ for more info: How can I kill a process? ( http://www.dev-archive.com/forum/showthread.php?t=312449)
Cheers