ashk1860

hi

I have an application which uses DsoFramer ActiveX. this activeX doesn't have a strong name. and I want to sign my application with strong name. and of course it's not possible because all the assemblies have to have strong name.

I have the source for this activeX developed by C++ and I have signed it with strong name but when I debug I am not able to find the dll file "AxInterop.DSOFramer.dll" that my application needs to run (and is not signed)!!! what should I do

thank you in advance

regards



Re: Visual C# General sign an application which uses unsigned activeX!!!

Peter Ritchie

I have no problem running a strongly-signed application that uses a native (not strongly-signed) ActiveX. How are you adding this activex as a reference






Re: Visual C# General sign an application which uses unsigned activeX!!!

ashk1860

thank you for your reply

I add the refrences simply by clicking add refrence and from com components select dsoframer and then use browse and select AxInterop.DSOFramer.dll





Re: Visual C# General sign an application which uses unsigned activeX!!!

Peter Ritchie

Try adding a reference to DSOFRamer.dll, Visual Studio should create an axinterop.dsoframer.dll for you automatically. This is the way I added a native ActiveX and didn't get the warning about it not being strongly-named.






Re: Visual C# General sign an application which uses unsigned activeX!!!

ashk1860

thank you for your greate help





Re: Visual C# General sign an application which uses unsigned activeX!!!

ashk1860

let's try





Re: Visual C# General sign an application which uses unsigned activeX!!!

ashk1860

can you please explain more I add the dsoframer.ocx to the refrences. when I build the solution then I have a Interop.dsoframer.dll not axInterop.dsoframer.dll

but in the sample of the dsoframer project they use this axInterop.dsoframer.dll and also me in my project.

any way when I try to sign even with Interop.dsoframer.dll with the way that you suggested me it raises the same error as before!

the steps that I use is:

add dsoframer.ocx to the refrences

build the solution with strong name (then I have a Interop.dsoframer.dll)

add Interop.dsoframer.dll to the refrences

build the solution

make an instance of a framerControl and build the solution

the error will raise





Re: Visual C# General sign an application which uses unsigned activeX!!!

ashk1860

I am beginer to use activeX controls but I think axIntrop, dll should create automatically but it doesn't with dsoframer. something is missing I have an activeX control in the com refrence list. I try to add all the possible refrences. from com list, from ocx, from dll s generated by source activex project or samples but none of them create axIntrop for me