I finally got around to asking for permission to share the slides of a tech talk I did more than a year ago: Modern COM Programming in D
In the slides I explain how I’ve made a projection for COM into D, which allows you to use COM objects without the usual hassle of refcount/QueryInterface/HRESULT/BSTR/etc… Sharing the code will be hard (mostly because of the shape it’s in) but the slides basically contain all you need. Actually, D has progressed a lot since, so a rewrite might be in order anyway.