Commit ec76583c authored by Max Kellermann's avatar Max Kellermann

win32/Com: add COINIT_DISABLE_OLE1DDE

MSDN documentation suggests always passing this flag to reduce overhead for an "obsolete technology".
parent 927f1e03
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment