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.
我已经创建了一个 C# 类库并成功注册为 com 对象。我试图通过创建一个控制台应用程序来检查它并尝试从 com 选项卡添加引用,但我无法从那里获取注册的 com 对象。任何人都可以检查我如何测试 com 对象是否注册成功?
当您使用 regsvr32 注册 COM dll 时,会将一条记录添加到注册表中。您需要检查该条目是否存在。