August 08, 2011
I need to interface with an application that has an IDispatch (activex/ole/automation) interface.  I can find some threads from 2006 about how painful that was.  I'm suspecting that in the intervening 5 years progress has been made, but I'm having trouble finding it.  The manual says D interfaces are descended from IUnknown, which would help me to CREATE an IDispatch object, but how do I use one that already exists?
August 08, 2011
On 08.08.2011 15:46, Jason King wrote:
> I need to interface with an application that has an IDispatch
> (activex/ole/automation) interface. I can find some threads from 2006
> about how painful that was. I'm suspecting that in the intervening 5
> years progress has been made, but I'm having trouble finding it. The
> manual says D interfaces are descended from IUnknown, which would help
> me to CREATE an IDispatch object, but how do I use one that already exists?

I've used Juno[1] in the past for COM programming. The project seems dead, and probably don't compile with newer DMD versions, but you might be able to figure out what it does.

[1] http://dsource.org/projects/juno