Guys, tell me if there are standard methods for working with WMI from under Qt. I found some QAxObject in the docks and there are no examples. How to use vaguely imagine.
2 answers
Microsoft has already described how to work with WMI. Creating a WMI Application Using C ++. You can implement some kind of interface for working with this, or you can generate classes. Read more here . I recommend to generate. Read more about WMI classes here.
You can also use PowerShell to access WMI-объектам . Examples on PS can be found here .
C ++ Examples
Also on the site codeProject there is very good information about this. There are already ready code samples with comments (I don’t want to duplicate it here)
|