Index: src/ch/MainWnd.cpp =================================================================== diff -u -rb5f6c00d1615afa6d26e4d74e564afe0af893174 -rd9426ed7d789d5a039b3d5bb92ef086c687ba285 --- src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision b5f6c00d1615afa6d26e4d74e564afe0af893174) +++ src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision d9426ed7d789d5a039b3d5bb92ef086c687ba285) @@ -2083,7 +2083,11 @@ void CMainWnd::OnPopupRegisterdll() { +#ifdef _WIN64 + HRESULT hResult = RegisterShellExtDll(_T("chext64.dll"), true); +#else HRESULT hResult = RegisterShellExtDll(_T("chext.dll"), true); +#endif if(SUCCEEDED(hResult)) MsgBox(IDS_REGISTEROK_STRING, MB_ICONINFORMATION | MB_OK); else @@ -2099,7 +2103,11 @@ void CMainWnd::OnPopupUnregisterdll() { +#ifdef _WIN64 + HRESULT hResult = RegisterShellExtDll(_T("chext64.dll"), false); +#else HRESULT hResult = RegisterShellExtDll(_T("chext.dll"), false); +#endif if(SUCCEEDED(hResult)) MsgBox(IDS_UNREGISTEROK_STRING, MB_ICONINFORMATION | MB_OK); else