11-06-2015, 08:50 AM
QM does not have such function. Use Windows API functions or WMI.
If A.exe is your-created, you can use a job object.
http://stackoverflow.com/questions/5320 ... in-windows
Else enumerate processes with CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS 0) and friends, and use PROCESSENTRY32.th32ParentProcessID.
http://stackoverflow.com/questions/1173 ... or-windows
Or WMI, but usually it is very slow.
If A.exe is your-created, you can use a job object.
http://stackoverflow.com/questions/5320 ... in-windows
Else enumerate processes with CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS 0) and friends, and use PROCESSENTRY32.th32ParentProcessID.
http://stackoverflow.com/questions/1173 ... or-windows
Or WMI, but usually it is very slow.
