Is it possible to know which processes are running using Qt 4? I'm looking for a way to wait until an application is closed by the user to make an operation.
+2
A:
I don't know a Qt solution either. But doing it is not that hard using theCreateToolhelp32Snapshot()
, Process32FirstW()
and Process32NextW()
functions. Just search the MSDN for this. There is also a (IMO too complex) example on
ashcatch
2009-05-07 07:57:45