简体   繁体   English

如何在Windows 7 64位上注册x86 DLL?

[英]How to register an x86 DLL on Windows 7 64-bit?

I have 32bit dll files and I need to register them on windows 7 x64, I have tries the regsvr.exe file that exists in the folder c:\\windows\\syswow64 However, nothing happened with me, and I haven't got a successful message. 我有32位dll文件,我需要在Windows 7 x64上注册它们,我尝试了存在于文件夹c:\\ windows \\ syswow64中的regsvr.exe文件。但是,我什么也没有发生,但是我没有成功信息。

When I searched for my dlls in regedt , I haven't found it. 当我在regedt中搜索我的dll时,我还没有找到它。

So, how can I solve that. 因此,我该如何解决。

Regards, Aya. 问候,ya。

It's no different to doing it on 32-bit Windows. 这与在32位Windows上进行操作没有什么不同。

It also doesn't matter which of the two regsvr32.exe versions you run: The 32-bit one is clever enough to call the 64-bit one if a 64-bit DLL is passed to it, and vice versa. 运行的两个regsvr32.exe版本中的哪个也无关紧要:如果将64位DLL传递给它,则32位的版本足以调用64位的版本,反之亦然。 (At least on Windows 7.) (至少在Windows 7上。)

If you're getting an error or the registration request doesn't return at all then the problem is likely to be with the registration function in the DLL (eg it's getting stuck in a long or endless operation or loop due to some other platform difference), or the DLL itself (eg some of its dependencies are missing). 如果您遇到错误或注册请求根本没有返回,那么问题可能出在DLL中的注册功能上(例如,由于其他平台差异,它陷入了长时间或无休止的操作或循环中) )或DLL本身(例如,缺少某些依赖项)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM