www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Has anyone created a D wrapper for wbemuuid.lib

reply Thomas Mader <thomas.mader gmail.com> writes:
I looked at some of the windows API wrapper projects for D on 
github [1][2], but none of them seems to have wrapped 
wbemuuid.lib right now.
Do I miss something? Does anyone have wrapped this lib?


[1] http://code.dlang.org/packages/windows-headers
[2] https://github.com/smjgordon/bindings/tree/master/win32
Sep 22 2015
next sibling parent Thomas Mader <thomas.mader gmail.com> writes:
On Tuesday, 22 September 2015 at 10:03:52 UTC, Thomas Mader wrote:
 Do I miss something? Does anyone have wrapped this lib?
This was also asked on stackoverflow some time ago. [1] Wonder if something happend since then. [1] http://stackoverflow.com/questions/24051606/can-i-use-routines-from-comdef-h-wbemidl-h-etc-in-d
Sep 22 2015
prev sibling parent Kagamin <spam here.lot> writes:
The bindings are translated from mingw headers, and mingw doesn't 
supply libraries with precompiled GUIDs, only functions. But 
bindings for GUIDs are pretty simple:

extern extern(System) CLSID CLSID_SWbemLocator;

Just copy the names you want.
Sep 22 2015