I have been trying to compile the WMI C++ example I found from this address:
Had a an error that couldn't find CLSID_WbemLocator but managed to fix that one by converting Microsoft wbemuuid.lib to libwbemuuid.a with the help of reimp.exe tool.
However, now Im stuck with the error message that says it can't find __mingw_uuidof<IWbemLocator>()
Here's a screenshot of that error message and also the compile command I used at the top of that screenshot:
And here's the source code, converted libwbemuuid.a, wbemuuid.lib and reimp:
I really need to get this WMI to work with Mingw64-w64.
I use the Mingw64-w64 version that is shipped by default with Qt 5.2.1