HighTechTalks DotNet Forums  

activex with managed assembly

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss activex with managed assembly in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
sandrapatfer@gmail.com
 
Posts: n/a

Default activex with managed assembly - 11-14-2006 , 10:02 AM






Hi,

I have an activex developed with MFC that now needs to load a managed
assembly and
I want to publish the activex in a cab with all the dlls.

The only way I set it to work was adding a /manifestdependency in the
activex for the assembly and copying it to the IE directory.
Nevertheless, the assembly must also be in the activex directory for
registration. My purpose is to only have this copy of the assembly in
the activex directory.

I tried to change the lpAssemblyDirectory using Activation Context with
no luck.
I also tried to load the assembly with the full path, which gave no
error, but when the managed objects are created it is performed another
load of the assembly in the IE directory (I saw the binding logs).

I also tried to sign the assembly but the activex registration fails
after including the publicKeyToken in manifestdependency.

Any suggestion?

Thanks a lot...
Sandra


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.