I've startet an application with ShellExeceuteEx and got the ProcessID.
Now I've tried to terminate that application by
TerminateProcess(ProcessId) and CloseHandle(ProcessId). All seems to work
well, but if I try to start that application a second time, it semms,
that there are some handles of that application still open, so I get
errors. That application is not a program of mine, so how can I be sure
to close all handles of startet application?
Are there any solutions?
Thanks, Wernfried