mirror of https://github.com/AxioDL/boo.git
Don't initialize OLE 1.0 in CoInitializeEx
This commit is contained in:
parent
9724488da3
commit
4f7845f4ce
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue