I need help using the Get() function from IWbemClassObject. I've used this function before to return single values, but the problem I'm having is I can't seem to figure out how to handle multi-valued results. My query looks like this:
hr = objWMIService->ExecQuery(L"WQL", L"Select * From...
I'm trying to use the Directory class to do some enumeration and the example code I found contains:
#include <stdafx.h>
#using <mscorlib.dll>
using namespace System;
my code looks like:
#define _WIN32_DCOM
#include <Wbemidl.h>
#include <iostream>
#include <string>
#include <Windows.h>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.