我遇到了在Windows 7 x64下注册* .dll的问题。REGSVR32查询。模块“xxxxx.dll”加载失败
我已经尝试将* .dll放在C:/ Windows/System32和C:/ Windows/SysWOW64中,并尝试在提升的命令提示符下注册“regsvr32 xxxxx.dll”。我也尝试从一个单独的目录注册它。
The module "xxxxx.dll" failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
事件日志指出:
Activation context generation failed for "C:\(path-to-dll)
Dependent Assembly
Microsoft.VC90.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found.
Please use sxstrace.exe for detailed diagnosis
注:它与下面的错误响应我已经安装了x86和x64 Microsoft Visual C++ 2010 Redistributable。
有趣的是,我试图在我的工作x64 Windows 7笔记本电脑上注册相同的* .dll并按预期注册。我猜这是倾向于某种C++依赖关系丢失/ ATL相关的事实?
如果有人能帮助我指出正确的方向或对此事进一步阐明;我会感激不尽。
问候。
你从哪里找错误?这是在Windows应用程序日志?我没有看到有任何 – 2017-09-28 19:16:41
系统登录Windows事件查看器iirc @RennishJoseph – 2017-10-01 17:20:29