Download and instantiate COM control
I am using ff-activex-host to host a .NET ActiveX control in Firefox and Chrome. It will instantiate a registered COM control, or download one in a cab file, register it, then instantiate the COM control. Unfortunately, the first means that I can't update the control's dll with changes from the server, and the second one requires administrator privileges.

I'd like to extend the plugin to support downloading a dll and instantiating it without requiring administrator privileges, but I'm not sure how to go about doing that. Does anyone have an example of doing this?

I'd be happy to skip the COM layer entirely and instantiate the underlying .NET control instead, but it would mean re-writing parts of the plugin, and the examples I've been able to find suggest that the best way to communicate is over COM anyway. Could you point me towards a C++ example of interacting with a .NET component without COM? The best I can find is [ExecuteInDefaultAppDomain][1] which seems quite limited - I'd like to be able to attach event handlers too.


  [1]: http://msdn.microsoft.com/en-us/library/ms164411.aspx
Download and instantiate COM control
===

I am using ff-activex-host to host a .NET ActiveX control in Firefox and Chrome. It will instantiate a registered COM control, or download one in a cab file, register it, then instantiate the COM control. Unfortunately, the first means that I can't update the control's dll with changes from the server, and the second one requires administrator privileges.

I'd like to extend the plugin to support downloading a dll and instantiating it without requiring administrator privileges, but I'm not sure how to go about doing that. Does anyone have an example of doing this?

I'd be happy to skip the COM layer entirely and instantiate the underlying .NET control instead, but it would mean re-writing parts of the plugin, and the examples I've been able to find suggest that the best way to communicate is over COM anyway. Could you point me towards a C++ example of interacting with a .NET component without COM? The best I can find is [ExecuteInDefaultAppDomain][1] which seems quite limited - I'd like to be able to attach event handlers too.


  [1]: http://msdn.microsoft.com/en-us/library/ms164411.aspx