diff --git a/lib/win/ApplicationWin32.cpp b/lib/win/ApplicationWin32.cpp index 06e6f40..0c4f3c1 100644 --- a/lib/win/ApplicationWin32.cpp +++ b/lib/win/ApplicationWin32.cpp @@ -292,7 +292,7 @@ public: int clientReturn = 0; std::thread clientThread([&]() { - CoInitializeEx(nullptr, COINIT_MULTITHREADED); + CoInitializeEx(nullptr, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE); clientReturn = m_callback.appMain(this); PostThreadMessage(g_mainThreadId, WM_USER+1, 0, 0); });