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;