Re: About CoInitializeEx

2020-05-30 Thread Julien Nabet
On 30/05/2020 09:15, Mike Kaganski wrote: On 30.05.2020 1:06, Julien Nabet wrote: On 29/05/2020 17:19, Mike Kaganski wrote: ... ... In fact, each successful call to CoInitialize(Ex) - including S_FALSE (which is a success code), must increment some internal ref counter. If it returns

Re: About CoInitializeEx

2020-05-30 Thread Mike Kaganski
On 30.05.2020 1:06, Julien Nabet wrote: > On 29/05/2020 17:19, Mike Kaganski wrote: >> On 29.05.2020 17:41, julien2412 wrote: >>> ... >> Ctor of ODriver should store the previous status if COM initialization, >> if it wants to re-initialize it with a specific concurrency. It should >> check the

Re: About CoInitializeEx

2020-05-29 Thread Julien Nabet
On 29/05/2020 17:19, Mike Kaganski wrote: On 29.05.2020 17:41, julien2412 wrote: ... Ctor of ODriver should store the previous status if COM initialization, if it wants to re-initialize it with a specific concurrency. It should check the failure code to detect if it was rejected because of

About CoInitializeEx

2020-05-29 Thread julien2412
Hello, On Win10 with master sources updated today, I noticed this log: warn:extensions.olebridge:3356:12452:extensions/source/ole/olethread.cxx:41: CoInitializeEx failed (expectedly): Cannot change thread mode after it is set.

Re: About CoInitializeEx

2020-05-29 Thread Mike Kaganski
On 29.05.2020 17:41, julien2412 wrote: > warn:extensions.olebridge:3356:12452:extensions/source/ole/olethread.cxx:41: > CoInitializeEx failed (expectedly): Cannot change thread mode after it is > set. > warn:extensions.olebridge:3356:12452:extensions/source/ole/olethread.cxx:61: > Thread is in a