摘自:
beyond compare 4.2.9桌面右键集成的问题修复
安装后,发现在WIN64时,注册表中注册的DLL库有问题
出错处:
1 [HKEY_CLASSES_ROOT\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32] 2 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx.dll" 3 "ThreadingModel"="Apartment"
修改为:
1 [HKEY_CLASSES_ROOT\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32]2 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx64.dll"3 "ThreadingModel"="Apartment"
如果还不行,注意去这儿删除相应的{57FA2D12-D22D-490A-805A-5CB48E84F12A}信息
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
修复右键的完整的注册表项见下,注意修改为你电脑上BC4的安装位置(目录需要双斜杠)。
1 Windows Registry Editor Version 5.00 2 3 [HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\CirrusShellEx] 4 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}" 5 6 [HKEY_CLASSES_ROOT\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}] 7 @="CirrusShellEx" 8 9 [HKEY_CLASSES_ROOT\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32]10 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx64.dll"11 "ThreadingModel"="Apartment"12 13 [HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\CirrusShellEx]14 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"15 16 17 [HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\CirrusShellEx]18 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"19 20 [HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\CirrusShellEx]21 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"22 23 24 [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}]25 @="CirrusShellEx"26 27 [HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32]28 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx.dll"29 "ThreadingModel"="Apartment"30 31 [HKEY_CURRENT_USER\Software\Classes\*\shellex\ContextMenuHandlers\CirrusShellEx]32 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"33 34 [HKEY_CURRENT_USER\Software\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}]35 @="CirrusShellEx"36 37 [HKEY_CURRENT_USER\Software\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32]38 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx64.dll"39 "ThreadingModel"="Apartment"40 41 [HKEY_CURRENT_USER\Software\Classes\Directory\shellex\ContextMenuHandlers\CirrusShellEx]42 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"43 44 [HKEY_CURRENT_USER\Software\Classes\Folder\shellex\ContextMenuHandlers\CirrusShellEx]45 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"46 47 [HKEY_CURRENT_USER\Software\Classes\lnkfile\shellex\ContextMenuHandlers\CirrusShellEx]48 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"49 50 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]51 "{57FA2D12-D22D-490A-805A-5CB48E84F12A}"="Beyond Compare 4 Shell Extension"52 53 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\CirrusShellEx]54 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"55 56 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}]57 @="CirrusShellEx"58 59 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32]60 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx64.dll"61 "ThreadingModel"="Apartment"62 63 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\CirrusShellEx]64 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"65 66 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\CirrusShellEx]67 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"68 69 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\CirrusShellEx]70 @="{57FA2D12-D22D-490A-805A-5CB48E84F12A}"71 72 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}]73 @="CirrusShellEx"74 75 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32]76 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx.dll"77 "ThreadingModel"="Apartment"78 79 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]80 "{57FA2D12-D22D-490A-805A-5CB48E84F12A}"="Beyond Compare 4 Shell Extension"81 82 [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}]83 @="CirrusShellEx"84 85 [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Classes\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32]86 @="D:\\05.Tools\\BeyondCompare4.2.9\\BCShellEx.dll"87 "ThreadingModel"="Apartment"88 89 [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]90 "{57FA2D12-D22D-490A-805A-5CB48E84F12A}"="Beyond Compare 4 Shell Extension"