RRUZ / wmi-delphi-code-creator

Generate Object Pascal (Delphi, FPC), Oxygene, C++ and C# code to access the WMI
https://theroadtodelphi.wordpress.com/
181 stars 46 forks source link

C++ returns wrong UINT64 values #23

Closed mislavjakopovic closed 8 years ago

mislavjakopovic commented 8 years ago

In C++ when reading UINT64 values from VARIANT structure, you should use bstrVal instead of uintVal. You can see more about the issue here: http://www.codeproject.com/Questions/384313/Cplusplus-WMI-UINT-question

Hope you fix this in next update, Thanks!

RRUZ commented 8 years ago

Thanks for the report, I just fixed the issue. Please try the new version.