Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的类定义:
[ProgId("MyProject.MyClass")] [ClassInterface(ClassInterfaceType.None)] [Guid("...")] [ComVisible(true)] public class MyClass : IMyClass { ... }
如果 com 客户端尝试通过 ProgId 创建我的对象并且随机有另一个具有相同 ProgId 的对象会发生什么?