COINIT_MULTITHREADED

HRESULT hRes = CoInitializeEx(NULL, COINIT_MULTITHREADED);

hRes=0x80010106 we cannot change the thread mode after it is set.
Hi please anyone can assist me
That's correct. You cannot change the thread model after it is set.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms695279(v=vs.85).aspx
"After the concurrency model for a thread is set, it cannot be changed."
Topic archived. No new replies allowed.