WQL in VC++
-
I can make wql requests but how can I place the requested value in a C++ variable, e.g. query = (SELECT capacity FROM Win32_PhysicalMemory WHERE BankLabel = "Bank0") and then get the value "capacity" and put it into an int variable in the C++ app. Cheers for any help in advance. Dave. We have a mathematician, a different kind of mathematician, and a statistician!
-
I can make wql requests but how can I place the requested value in a C++ variable, e.g. query = (SELECT capacity FROM Win32_PhysicalMemory WHERE BankLabel = "Bank0") and then get the value "capacity" and put it into an int variable in the C++ app. Cheers for any help in advance. Dave. We have a mathematician, a different kind of mathematician, and a statistician!
Do these articles help any? http://www.codeproject.com/csharp/wmi.asp?target=select http://www.codeproject.com/useritems/PrntJobControllerUsingWMI.asp?target=select Or this thread?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)