gpt4 book ai didi

windows - 注册一个COM组件需要什么?

转载 作者:可可西里 更新时间:2023-11-01 09:50:06 25 4
gpt4 key购买 nike

我是 .NET 开发人员,不熟悉 COM。我想知道注册一个COM组件需要什么?注册期间会发生什么。

最佳答案

In order for the OS to find a component when a program needs it, it must be registered with the system. The system then records it in the Registry.

Usually a component is registered by running the program REGSVR32.EXE, which assumes that the component has been properly coded to support the DLLRegisterServer() public method. Executing regsvr32.exe should respond with a dialog box indicating success or failure of the registration.

阅读

Understanding COM Component Registration

关于windows - 注册一个COM组件需要什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1542075/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com