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

两盒软妹~` 提交于 2019-12-01 06:47:04

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

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.

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!