Reputation: 2017
Is it possible to issue WMI WQL queries in plain C? And if yes, how?
Upvotes: 6
Views: 3383
Reputation: 991
It looks like you can do this sort of thing by using ExecQuery(), though this example is in C++. BTW this guy couldn't get it to work, but you may check out what he's doing.
Hope this helps.
http://forums.devshed.com/c-programming-42/wmi-wql-querying-problem-in-c-215026.html
More WMI programming:
http://www.vedivi.com/blog/2008/05/how-to-enable-remote-desktop-programmatically/
Upvotes: 0
Reputation: 14956
You can use any programming language that you want as long as you can call into the COM API for WMI.
Upvotes: 3