The OpenD Programming Language

arsd.comhelpers

My old com helper code. I haven't used it for years.

Public Imports

core.stdc.string
public import core.stdc.string;
Undocumented in source.

Members

Aliases

pfn_t
alias pfn_t = HRESULT function()

Register/unregister a DLL server. Input: flag !=0: register ==0: unregister

Functions

createObject
AutoComPtr!T createObject(GUID classId)

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

Meta