[Bug 22273] CDBurnerXP doesn't start with Mono

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 20 14:05:07 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22273





--- Comment #2 from Vincent Povirk <madewokherd at gmail.com>  2010-04-20 14:05:07 ---
It's failing when NMSDVDXLib.DVDEngineXClass:add_OnTrackFileWarning is called.
This method is part of an event (it adds an event handler). It's implemented as
an internal call on a ComWrapper class, so mono expects to wrap a COM method.
To find the IID of the interface that has this method, it looks up the
GuidAttribute on the interface that implements the method. That interface does
not have a GuidAttribute.

It does, however, have a ComEventInterfaceAttribute
(http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.comeventinterfaceattribute_members.aspx).
This attribute points to a more normal COM interface type (SourceProvider) and
another class that apparently implements add_OnTrackFileWarning
(EventProvider).

Somehow, I think that Mono has to account for this ComEventInterfaceAttribute,
but it's unclear to me how the EventProvider class is supposed to work.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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