[Bug 24190] PlayOn 3.x installer fails with 'Error: VTable setup of type WMPLib.WindowsMediaPlayerClass failed' when using Wine-Mono

WineHQ Bugzilla wine-bugs at winehq.org
Fri Mar 5 14:38:02 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=24190

--- Comment #13 from Esme Povirk <madewokherd at gmail.com> ---
Actually, I guess there is supposed to be an actual implementation. Sort of.
It's an empty method on the class that gets implemented by com interop code.

[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]
[return:
System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.BStr)]
public virtual extern string
IWMPStringCollection2_Item([System.Runtime.InteropServices.In] int lIndex);

But this isn't IWMPStringCollection_Item. In C# interface terms, that's a
different method, because COM interop interfaces have to duplicate inherited
methods.

This needs testing to figure out exactly why .NET Framework accepts this.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list