On Thu Oct 23 13:35:12 2025 +0000, Louis Lenders wrote:
Hi Zhiyi, I did some more testing and I found that the program can also be started by just removing one ordinal from the uxtheme.spec file (instead of moving one of the named functions above DrawThemeBackground to an (arbitrary) ordinal). I've tested that on win7 up to win11 ordinals 18 up to 30 seem to be unused. On windows Vista only 18 + 19 seem unused. So this patch seems like a reasonable fix to start the program. See also https://testbot.winehq.org/JobDetails.pl?Key=160413#k201 On 64-bit Windows 10 22H2, ordinals 18 and 19 are used in uxtheme. So I am not convinced that this is the right way to fix it. Please try to find out why the program crashes. You can add some logs in GetProcAddress() to see which ordinal in uxtheme it needs.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9261#note_119447