Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to list current processes using Qt on windows?

Tags:

windows

qt

qt4

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.

like image 367
bbigras Avatar asked Oct 27 '25 03:10

bbigras


1 Answers

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

Taking a snapshot and viewing processes

like image 175
ashcatch Avatar answered Oct 28 '25 19:10

ashcatch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!