diff --git a/src/win32/Com.hxx b/src/win32/Com.hxx index ba749a8c1..173b0fcc9 100644 --- a/src/win32/Com.hxx +++ b/src/win32/Com.hxx @@ -29,7 +29,7 @@ class COM { public: COM() { - if (HRESULT result = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); + if (HRESULT result = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED|COINIT_DISABLE_OLE1DDE); FAILED(result)) { throw MakeHResultError( result,