I am having trouble reading uint ARRAYS properties from WMI objects. I can read and process STRING properties from WMI objects.
ala_2 0 Newbie Poster
Recommended Answers
Jump to PostHow about this article?
Jump to PostMaybe this example will be of some help to you...
#include <windows.h> #include <tchar.h> #include <stdio.h> #define _WIN32_DCOM #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> # pragma comment(lib, "wbemuuid.lib") int _tmain(int argc, _TCHAR* argv[]) { CoInitialize(NULL); { VARIANTARG *pVals; SAFEARRAYBOUND rgsabound; rgsabound.lLbound = 0; rgsabound.cElements …
All 5 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
ala_2 0 Newbie Poster
Suzie999 245 Coding Hobbyist
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
BobS0327 24 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.