My old com helper code. I haven't used it for years.
Register/unregister a DLL server. Input: flag !=0: register ==0: unregister
Create a COM object. the string params are GUID literals that i mixin (this sux i know) or if the interface has no IID it will try to IDispatch it or you can request a fully dynamic version via opDispatch. note i can try import core.sys.windows.uuid; IID_IDispatch for example to generically look up ones from the system if they are not attached and come from the windows namespace