Oriane
7/25/2008 7:17:00 AM
Hi Steven,
"Steven Cheng [MSFT]" <stcheng@online.microsoft.com> a écrit dans le message
de news:i0uFlVg7IHA.4056@TK2MSFTNGHUB02.phx.gbl...
> Hi Philippe,
>
> Some community member and I have replied you in the following thread:
>
> #SUBJECT: Using an ActiveX in a Web service
> NEWSGROUP: microsoft.public.dotnet.framework.aspnet
>
> Is this thread the same issue with that thread? Based on that thread, I
> think you've got the out-process COM component to created correctly in
> your
> webservice code, correct?
Yes.
> For creating COM instance in .NET application(no matter in-process or
> out-process), you can use the later minding approach to create the
> instance
> via progid or clsid. Note that you need to use the
> "Activator.CreateInstance" method rather than "Marshal.GetActiveObject"
Yes if I wish to create it that's what I would write. But I don't want to
create it, since it is already running. I want an handle on a running
component (since it is an executable, I could have been created before). So
I don't really need a later binding approach, but I didn't find any method
in Activator to do what I want.
Thanks for your support.
Oriane