tlbimp

Unable to sign an imported msi.dll assembly using tlbimp

This seems so trivial, yet I can't get it to work.. I have an msi.dll wrapper (named Interop.WindowsInstaller.dll) which I need to sign. The way to do it is by signing it upon import (this specific case is even documented in MSDN: http://msdn.microsoft.com/en-us/library/zec56a0w.aspx). BUT - no matter how I do it (w/ or w/o a keyfile, ...

.Net to COM Interop Tester

I made a class in C# that I am exposing to COM. I can register it just fine using RegAsm.exe. I would like to test it before I send it off, but using TlbImp.exe gives me an error of "Type libaray was exported from a CLR assembly and cannot be re-imported as a CLR assemply." What is a good way to test this? ...

Access COM server's idl helpstring attribute from .net client

I haven't been able to find a way to access the helpstring attribute of a COM server's interface method's or properties from a .net client? Is it possible? I've created a primary interop assembly for my COM server using the command: tlbimp myserver.tlb /primary /keyfile:myserver.snk /out:company.myserver.dll /namespace:myserver The int...

How to make .NET not to use registered TLB to marshal calls to COM methods?

Current configuration is: The main application is unmanaged. It contains DLL, containing TLB, which describes functions, exposed to COM model. To support ASMX web services, it loads .NET framework, and starts ASP.NET domain that serves web service calls. To serve web service calls, it needs data from the main application. So, we'r...