views:

511

answers:

3

IS there a way to activate a COM component which is EXE COM application and also it's dependent COM dlls? I want to activate this COM component from .NET application(VS 2005/VS 2008). the path of call is C# application --> invoking out-of-proc exe(this is through COM) and then this out-of-proc invokes few COM dlls

A: 

Registration free activation is described here. Roughly speaking, it looks like you create your COM components and clients as usual, then put them all into the same directory with a manifest file which contains the COM registration information.

1800 INFORMATION
I had seen this and tried using this for the application. it works for a dll, but not for a exe.as I said the path of call is C# application --> invoking out-of-proc exe(this is through COM) and then this out-of-proc invokes few COM dlls.
oh sorry, I don't think that registration free COM activation really supports DCOM
1800 INFORMATION
thanks for the quick answer. is it documented by microsoft in some place that out-of-proc COM is not supported for registration free activiatation? I searched but couldn't get any information on this.
I don't have documentation links, but from what i know there is no regfreecom support for out-of-proc servers.
Constantin
I found the link here which says out-of-proc is not supported and only dlls are supported. link - http://msdn.microsoft.com/en-us/magazine/cc188708.aspx#S4;search tag "The limitations of Reg-Free COM"
A: 

You can check this article. Author is loading COM IFilter objects bypassing standard CoCreateInstance. Maybe this can help you.

arbiter
this means, we need to make changes to the current design. May be this should be my last option if I fail to find other ways.
I was checking this route for my applications and found to be quite cumbersome, and tedious because of the time involved for the developing and testing the appilications
+1  A: 

Reg-free COM does not work for out of process components.

ActiveX EXE and ActiveX Document project types cannot be used with Reg-Free COM, as discussed in the sidebar.

Simplify App Deployment with ClickOnce and Registration-Free COM

Bob Riemersma