after using gacutil.exe to share the accembly
use regsvcs.exe to register the dll into com+组件服务。

解决方案 »

  1.   

    看一下我的问题:http://expert.csdn.net/Expert/TopicView1.asp?id=1939757
      

  2.   

    我是这样做的:
    建立一个类库;
    用gacutil.exe注册;
    用regsvcs.exe添加到COM+程序集;(有警告:说没有类接口;有C++ Runtime错误,好象是我系统问题)
    在VS.NET,对这个COM+进行引用,报错:该类型库是从CLR程序集导出,不能在重新导入。不知道我的步骤是否对,如果对的话,那估计我系统有问题了。