Using COM. Please help.
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Jun 26 22:28:17 PDT 2011
You mean COM interfaces? I usually do this:
interface SomeComInterface : IUnknown
{
extern(Windows):
BOOL PrototypeFoo();
}
But maybe this is already implicit when deriving from IUnknown, I wouldn't know.
But from what I can tell some of those prototypes seem to have C
linkage, maybe you're getting access violations due to wrong calling
conventions.
More information about the Digitalmars-d-learn
mailing list