oleaut32: Resolve embedded unnamed TypeLib dependencies using their GUID.

guillaume.charifi at sfr.fr guillaume.charifi at sfr.fr
Fri Feb 7 17:27:58 CST 2014


This patch is designed to fix the bug: http://bugs.winehq.org/show_bug.cgi?id=34184
It appears that while the dependency checking of a TypeLib is being processed, some programs have the requested TypeLib in their Resource section/TYPELIB. Before this patch, the behavior was to look for the TLB on the disk, using the name provided. Obviously, when it is embedded into the program, the function fails everytime. Now, considering the GUID in place of the TLB name, and searching into the Resource section, the TLB is correctly loaded.
This is what happens with Skype's "uc.tlb", whose name is only referenced in the TLB skControl, and nowhere else. Using instead the GUID, we are able to find and load the unnamed "uc.tlb" from the program resources.

---
 dlls/oleaut32/typelib.c   193 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 192 insertions(+), 1 deletion(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140208/3b3654da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-oleaut32-Resolve-embedded-unnamed-TypeLib-dependenci.patch
Type: text/x-patch
Size: 6998 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140208/3b3654da/attachment.bin>


More information about the wine-patches mailing list