Hi everyone,
I was trying to spawn a process by using spawn, however I doesn't really know how to kill it. Any idea how can I do it?
Hi everyone,
I was trying to spawn a process by using spawn, however I doesn't really know how to kill it. Any idea how can I do it?
Right, if you use spawn and friends, you don't really have a good way to kill the process, as you will first need to locate the process handle, then use TerminateProcess.
You may be able to use EnumProcesses to find the ID.
It's much easier if you use "CreateProcess()".
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.