我遇到了在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