Don't initialize OLE 1.0 in CoInitializeEx

This commit is contained in:
Jack Andersen 2016-06-17 10:43:05 -10:00
parent 9724488da3
commit 4f7845f4ce
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ public:
int clientReturn = 0; int clientReturn = 0;
std::thread clientThread([&]() std::thread clientThread([&]()
{ {
CoInitializeEx(nullptr, COINIT_MULTITHREADED); CoInitializeEx(nullptr, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE);
clientReturn = m_callback.appMain(this); clientReturn = m_callback.appMain(this);
PostThreadMessage(g_mainThreadId, WM_USER+1, 0, 0); PostThreadMessage(g_mainThreadId, WM_USER+1, 0, 0);
}); });