Is there a way for registration free activation of EXE COM components
Asked Answered
W

3

5

Is there a way to activate a COM component which is an 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

Wampler answered 22/6, 2009 at 9:11 Comment(0)
A
2

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

Antre answered 25/6, 2009 at 18:48 Comment(0)
D
1

Look at Microsoft Forum Registration-Free EXE COM Server ? So, There is no direct way to do this work whithot any additional code. As for me, the code still needs for classic registration to correct date marshaling.

Deft answered 10/10, 2012 at 12:44 Comment(0)
M
0

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.

Matthias answered 22/6, 2009 at 9:17 Comment(5)
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.Wampler
oh sorry, I don't think that registration free COM activation really supports DCOMMatthias
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.Wampler
I don't have documentation links, but from what i know there is no regfreecom support for out-of-proc servers.Supinator
I found the link here which says out-of-proc is not supported and only dlls are supported. link - msdn.microsoft.com/en-us/magazine/cc188708.aspx#S4; search tag "The limitations of Reg-Free COM"Wampler

© 2022 - 2024 — McMap. All rights reserved.