Index: src/ch/ch.cpp =================================================================== diff -u -r306fbe693c70290af9de9a5779084a697de22d75 -r09cedb80782a75d4b4896a1f3d2dd535688bf840 --- src/ch/ch.cpp (.../ch.cpp) (revision 306fbe693c70290af9de9a5779084a697de22d75) +++ src/ch/ch.cpp (.../ch.cpp) (revision 09cedb80782a75d4b4896a1f3d2dd535688bf840) @@ -44,6 +44,7 @@ #include "resource.h" #include "../liblogger/TLogger.h" #include "../liblogger/TAsyncMultiLogger.h" +#include "TWindowMessageFilterHelper.h" #ifdef _DEBUG #define new DEBUG_NEW @@ -487,6 +488,11 @@ LOG_ERROR(m_spLog) << L"Failed to initialize shell extension configuration. Shell extension will be inactive. Error: " << e.what(); } + // ================================= User Interface Privilege Isolation ================= + LOG_INFO(m_spLog) << _T("Enabling communication between non-admin explorer and admin Copy Handler"); + if(!TWindowMessageHelper::AllowToReceiveCopyDataMessages()) + LOG_WARNING(m_spLog) << _T("Failed to enable communication between non-admin explorer and admin Copy Handler"); + // ================================= Main window ======================================== LOG_INFO(m_spLog) << _T("Creating main application window"); // create main window