https://bugs.winehq.org/show_bug.cgi?id=39101
Bug ID: 39101 Summary: Visual Studio Compiler creates invalid interface from a typelib Product: Wine Version: 1.7.49 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: oleaut32 Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
Created attachment 52094 --> https://bugs.winehq.org/attachment.cgi?id=52094 Sample Project
winetricks vc2008express
Open the Attached project and compile.
StdAfx.h has line. #import "../typelibs/Debug/typelibs.tlb"
which causes the compiler to get generate typelibs.tlh and typelibs.tli files. These files represent the interfaces that are defined in the TLB.
Under WINE, the file created (runme\Debug\typelibs.tlh),
contains a line, like below, for every function in the base interfaces(s).
virtual HRESULT _VtblGapPlaceholder1( ) { return E_NOTIMPL; }
whereas on windows these lines aren't there.
These extra lines cause the V Table to be incorrect and programs crash when any of the interface functions are called.
https://bugs.winehq.org/show_bug.cgi?id=39101
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ded915aa7c450429a74f136efa3 | |5a1b58d83a63f Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by the recent widl changes.
https://bugs.winehq.org/show_bug.cgi?id=39101
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Why is this affected by widl changes? Please explain how it works with VS, so that widl fix becomes important.
https://bugs.winehq.org/show_bug.cgi?id=39101
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- It was the series of patches by Dmitry that corrected the issue for me. There might of been an oleaut32 patch in the middle of the set
https://bugs.winehq.org/show_bug.cgi?id=39101
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|ded915aa7c450429a74f136efa3 | |5a1b58d83a63f |
https://bugs.winehq.org/show_bug.cgi?id=39101
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.55.
https://bugs.winehq.org/show_bug.cgi?id=39101
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |---
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Just testing with wine-2.0-rc3 and it still appears to be an issue.
https://bugs.winehq.org/show_bug.cgi?id=39101
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Is this still broken with wine 6.1?
https://bugs.winehq.org/show_bug.cgi?id=39101
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Visual Studio Compiler |Visual Studio 2008 (9.0) |creates invalid interface |Express Edition: Compiler |from a typelib |creates invalid interface | |from a typelib CC| |focht@gmx.net Status|REOPENED |NEEDINFO URL| |https://web.archive.org/web | |/20101224105308/http://down | |load.microsoft.com/download | |/8/B/5/8B5804AD-4990-40D0-A | |6AA-CE894CBBB3DC/VS2008Expr | |essENUX1397868.iso Keywords| |download