https://bugs.winehq.org/show_bug.cgi?id=55962
Bug ID: 55962 Summary: Program that mixes 32-bit and 64-bit typelibs fails to find a referenced typelib Product: Wine Version: 8.21 Hardware: x86-64 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: oleaut32 Assignee: wine-bugs@winehq.org Reporter: dmitry@baikal.ru CC: julliard@winehq.org Regression SHA1: 43e5f9e4bfa65ccea633df244a7ec0c790ed8ffb Distribution: ---
I have a 32-bit program that has a 32-bit typelib (SYS_WIN32) in its resources. This program also ships a bunch of 32-bit dlls that also have typelibs in their resources, and these typelibs referense a typelib from main exe by guid. However all the typelibs in 32-bit dlls have syskind SYS_WIN64, and that prevents finding a referenced typelib from main exe. This is a regression, and it's caused by
commit 43e5f9e4bfa65ccea633df244a7ec0c790ed8ffb Author: Alexandre Julliard julliard@winehq.org Date: Fri Sep 9 17:27:27 2022 +0200
oleaut32: Check that the 32/64 syskind matches when getting a typelib from the cache.
Fixes test failures on 64-bit.
Reverting this commit makes the program work again.