Hello,
I've developed an object that late binds to COM objects using
Activator.CreateInstance and <Type>.InvokeMethod.
The object is held within a ASP.NET application which is used heavily, thus
requiring the late binding to be activated regularly. Unfortunately, on
more than once occasion RuntimeType.InvokeDispMethod has thrown an
unspecified error.
Has anybody encountered similar problems and can anybody offer any kind of
solution?
Thanks in advance,
Richard Bower.
Ben Rush - 12 Jul 2004 17:10 GMT
What is the apartment requirements for the object with which you are
invoking?
> Hello,
>
[quoted text clipped - 12 lines]
>
> Richard Bower.
RichB - 15 Jul 2004 12:54 GMT
Single threaded aparment, C++ COM object, no transaction or state, IDispatch
interface
that is sat in a COM+ package.
Thanks
Richard.
> What is the apartment requirements for the object with which you are
> invoking?
[quoted text clipped - 16 lines]
> >
> > Richard Bower.