更新时间:2022-12-15 08:33:39
@RaymondChen用户指出注释中有一个函数 CoRegisterClassObject
此处,可用于注册COM类,而无需将其添加到注册表中。
As user @RaymondChen pointed out in the comments there is a function CoRegisterClassObject
here, which can be used to register COM classes without needed to add them to the registry.
此当然,只允许您在注册该可执行文件的范围内使用该COM类。
This of course only allows you to use that COM class in the scope of the executable which registered it.