On Thursday, 18 June 2015 at 11:36:50 UTC, Arjan wrote:
See the 'COM in plain C' articles by Jeff Glatt which
demonstrate how to do it using C. This might give you the
information needed to do it using D.
http://www.codeproject.com/Articles/Jeff-Glatt#articles.
It's a little misleading though. It starts with complaining that
existing examples hide details and then uses all sorts of macros
which have the same issue.
HRESULT PASCAL DllGetClassObject
Hehe, this one doesn't use pascal convention of course :)