Closed dmitr-fedorov closed 1 year ago
The method worked fine as long as the WMI classes are available for the compiler. However, your implementation should be used when WMI is unavailable...
How can the WMI classes not be available for the compiler?
I had similar issues when using MinGW for example
Can you test my implementation and see if it works for you?
Hi! The fixed current version works for both, MSVC and MinGW.
The previous implementation was returning -1 on Windows, so I fixed it. Also I changed the README for it to display the support of the new feature.