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
golanshahar at 2007-11-10 23:43:37 >
# 2 Re: Close an application
That solves my question. Thanks very much.
ziren at 2007-11-10 23:44:31 >
# 3 Re: Close an application
You are welcome :wave:

Cheers
golanshahar at 2007-11-10 23:45:41 >