Can I find out what processes are running with Qt 4? I am looking for a way to wait until the application is closed by the user to complete the operation.
I also don't know the Qt solution. But to do this is not so difficult using functions CreateToolhelp32Snapshot(), Process32FirstW()and Process32NextW(). To do this, simply find the MSDN. There is also a (too complicated) IMO example on
CreateToolhelp32Snapshot()
Process32FirstW()
Process32NextW()
Take snapshots and view processes
This is actually not a Qt4 solution, but you can run WMIC in QProcess and evaluate the result.
- :
wmic process get name /every:5
Source: https://habr.com/ru/post/1707836/More articles:Проект веб-настройки - получение имени текущей машины - .netWhere can I find current Adobe Image format specifications? Clipping Path - c #Using a shared database for collaborative development - databaseignore self-signed, expired ssl certificate in svn tortoise - version-controlGet the first characters of a column in a table using linq - sql-serverHibernate Search - List all default entries - hibernateThe general structure of C ++ - c ++Соображения для запуска приложения Windows.NET из сетевого ресурса - .netHow to register a server in the default RMI registry for JBoss and access it from a client running in another JVM? - javaHow to run VBScript on Windows NT 4? - vbscriptAll Articles