[Bug 42695] Path of Exile fails to start when launching with dx11 enabled with message "Failed to create WIC factory" (CoCreateInstance() called in uninitialized apartment)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 29 11:28:24 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=42695

--- Comment #41 from Nikolay Sivov <bunglehead at gmail.com> ---
(In reply to Paul Gofman from comment #40)
> Created attachment 63132 [details]
> Return CO_E_NOTINITIALIZED in CoInitializeSecurity()  if COM is not
> initialized
> 
> Can someone test the game with the attached patch used instead of that one
> CoInitialize() calling from CoCreateInstance() hack? And if it is not
> getting fixed this way (likely result), provide a WINEDEBUG=+tid,+ole,+rpc
> log with and without this patch (but yet without CoInitialize() call hack)?

CoInitializeSecurity() is a part of WMI query call, and happens after
CoInitializeEx(), so this change won't matter. I don't think
CoInitializeSecurity() is restricted like that, because it sets per-process
info that overrides default parameters.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list