createObject

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

version(Windows)
AutoComPtr!T
createObject
(
T
string iidStr = null
)
(
GUID classId
)

Meta