Accessing COM Objects

John via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 15 10:20:31 PDT 2016


On Wednesday, 15 June 2016 at 16:45:39 UTC, Joerg Joergonson 
wrote:
> Thanks. When I ran it I got a d file! when I tried to use that 
> d file I get undefined IID and IDispatch. I imagine these 
> interfaces come from somewhere, probably built in?
>
> Any ideas?

Add the following after the module name:

   import core.sys.windows.com, core.sys.windows.oaidl;


More information about the Digitalmars-d-learn mailing list