As long as you have the interface to the object you could always interogate
the COM objects Type and use the GetMethods()/GetMethod calls the get the
method(s) you wish to execute and then call Invoke on the
Reflection.MethodInfo instance(s).
> Hello,
>
[quoted text clipped - 10 lines]
> Thanks,
> Marius Matioc
Marius Matioc - 10 May 2006 20:09 GMT
Thanks for taking the time to answer.
I don't know how to get the interface of the COM object.
After decorating a class with "ComSourceInterfaces", how does one get an
interface pointer to that source interface?
Or is there another, better, way to use connection points in this case?
Marius
> As long as you have the interface to the object you could always interogate
> the COM objects Type and use the GetMethods()/GetMethod calls the get the
> method(s) you wish to execute and then call Invoke on the
> Reflection.MethodInfo instance(s).