www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Import Classes

In Microsoft VC++ to import classes in a dll exposed through com interfaces,
without the header file included, I use the following
#import "MyDll.dll" no_namespace
MyClassPtr MyClass(__uuidof(MyClass));
MyClass->method();
How can this be in D?
Oct 03 2004