我創建了一個C#DLL VS 2010與所有的COM + attributes.i造成一種強烈的重點,並 this strong key to Application properties
and register it to the assembly:
sn -k ComPlusClass.snk
無法調用COM +從VB6代碼
Use VS tool to register the assembly as:
regasm ComPlusExample.DLL
Create a Type Library using the tool:
` tlbexp ComPlusExample.DLL
Register it in COM+ as:
regsvcs ComPlusExample.DLL
後來我在vb6中創建了一個應用程序,並在refrences.s.Everthing中添加生成的.tlb。我可以從vb6調用c#dll。但是我需要將這些代碼提供給我的客戶端,並且不可能在那裏運行所有這些步驟。 因此,對於這個我創建的exe通過右鍵單擊我的應用程序在COM + .i安裝此exe文件在我的客戶system.but當我添加從progmramfiles tlb參考它顯示module can't be found
.plz幫助我在這方面的錯誤。是創建exe是將我的com +從一個系統導出到另一個系統的正確方法。