.net com

1.制作程序集

2.签名

签名是为了regasm时用到 /codebase 开关

image

3.regasm

regasm dotnetcomponent****.dll  /codebase /tlb

4,连接点,事件

在引发事件的对象加入  [ComSourceInterfaces(typeof(I事件接口))],ccw会自动生成连接点容器和连接点

原文地址:https://www.cnblogs.com/cppss/p/3808499.html