I can use ShellExecute no problem to open another exe........
How can I close another exe again..........
Thanks...
Tony.
I can use ShellExecute no problem to open another exe........
How can I close another exe again..........
Thanks...
Tony.
Hi,
Don't use ShellExecute to run an exe otherwise use CreateProcess API function and get a handle of Process by it.
When you want to terminate the process just call EndProcess function passing process handle to it.
Jatan