Register/unregister a DLL server. Input: flag !=0: register ==0: unregister
Create a COM object. The passed interface should be a child of IUnknown and from core.sys.windows or have a ComGuid UDA, or be something else entirely and you get dynamic binding.
Mixin to a low-level COM implementation class
Mixin to a low-level COM implementation class
Code for COM interop on Windows. You can use it to consume COM objects (including several objects from .net assemblies) and to create COM servers with a natural D interface.
This code is not well tested, don't rely on it yet. But even in its incomplete state it might help in some cases.
Compile it into a library like normal, then regasm it to register the assembly... then the following D code will work:
I'll show a COM server example later. It is cool to call D objects from JScript and such.