gpt4 book ai didi

windows-7 - 注册 DLL 时出错

转载 作者:可可西里 更新时间:2023-11-01 10:07:15 30 4
gpt4 key购买 nike

我正在尝试使用命令 regsvr32 dll_name.dll 注册 DLL,但出现以下错误

The module "Addition.dll" was loaded but entry point DLLRegisterServer was not found

Make sure that "Addition.dll" is a valid DLL or OCX file and then try again

谁能帮我找出问题所在?

最佳答案

您要注册的每个 DLL 都必须具有 DLLRegisterServer 函数。每当您运行 regsvr32.dll DLL_NAME 时都会调用此函数。它基本上修改注册表,只做需要将此 dll 安装到系统中的事情。

从您的错误中可以明显看出模块“Addition.dll”没有此功能。如果是客户制作的DLL,则添加此函数并再次运行。

该函数主要用于COM(Component object model)组件在系统中注册自己。不作为COM服务器使用的DLL不需要有此功能。

关于windows-7 - 注册 DLL 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14646736/

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