On Thu Jul 10 11:23:12 2025 +0000, Zhiyi Zhang wrote:
Maybe check for DLL redirection? For example, `FindActCtxSectionStringA(0, NULL, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, "comctl32.dll", &data)` in load_v6_module(). And of course, v5 and v6 should be separated in the future. Are there necessary things missing for doing the separation? I know we tried to delay it. But maybe it's time. It's easier with window classes, but yes, this is basically our only option at the moment. It's not going to work properly in all cases obviously, and it can also produce false positives - you can have current context with redirection but exported function could still be from comctl32 v5. For separation I think the main issue is to make it work nicely with wine build tree, right now you can't have multiple modules with the same name in it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8261#note_109462