From c160afe719611b27910d8347ece6e49ee2a3b32f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 9 Aug 2016 17:03:35 +0200 Subject: change COM threading apartmentthreaded -> multithreaded --- opentrack-logic/dinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opentrack-logic') diff --git a/opentrack-logic/dinput.cpp b/opentrack-logic/dinput.cpp index 65c1405d..ce80fe0e 100644 --- a/opentrack-logic/dinput.cpp +++ b/opentrack-logic/dinput.cpp @@ -20,7 +20,7 @@ dinput_handle::~dinput_handle() dinput_handle::di_t dinput_handle::init_di() { - HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED); + HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); if (FAILED(hr)) qDebug() << "dinput: failed CoInitializeEx" << hr << GetLastError(); -- cgit v1.2.3