Index: src/chext/DropMenuExt.cpp =================================================================== diff -u -rc33d4855ebf17772c28012a66c829a1f21d080f5 -rc17c4aa7bb4c96219af4191623abe40d18e02713 --- src/chext/DropMenuExt.cpp (.../DropMenuExt.cpp) (revision c33d4855ebf17772c28012a66c829a1f21d080f5) +++ src/chext/DropMenuExt.cpp (.../DropMenuExt.cpp) (revision c17c4aa7bb4c96219af4191623abe40d18e02713) @@ -232,6 +232,9 @@ HRESULT CDropMenuExt::ReadShellConfig() { BOOST_LOG_FUNC(); + + TLogger& rLogger = Logger::get(); + try { HWND hWnd = ShellExtensionVerifier::VerifyShellExt(m_piShellExtControl); @@ -240,7 +243,11 @@ // get cfg from ch unsigned long ulSHMID = GetTickCount(); - ::SendMessage(hWnd, WM_GETCONFIG, eLocation_DragAndDropMenu, ulSHMID); + if(::SendMessage(hWnd, WM_GETCONFIG, eLocation_DragAndDropMenu, ulSHMID) != TRUE) + { + BOOST_LOG_SEV(rLogger, error) << L"Failed to retrieve configuration from Copy Handler"; + return E_FAIL; + } std::wstring strSHMName = IPCSupport::GenerateSHMName(ulSHMID);