7 Dec
2022
7 Dec
'22
1:44 p.m.
On Wed Dec 7 13:44:09 2022 +0000, Jacek Caban wrote:
Note that CreateWindow sends messages and hooks, so a wrong instance is already visible there. I think we could just pass explicitly "client_instance" NtUserCreateWindowEx parameter (possibly replacing cbtc with just HINSTANCE parameter). Yeah, I considered that, but at least the applications from the bug reports seemed to work without it, and it was the least intrusive way I could think of.
I pushed your suggestion. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1698#note_18996