Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.7.1
-
None
Description
CoInitializeEx needs to be called for all threads seperately. Since I do not have access to the Threads of a QThreadPool, I have to use Workarounds to have it behave. And even then I cannot call CoUnInitialize correctly since I do not know when the Thread will be deleted. Therefore I would suggest to add virtual methods to QThreadPool or a signal/slot solution for "ThreadStart" and "ThreadEnd" so that one can call stuff like CoInitialize correctly.