[Mono-bugs] [Bug 520437] using == operator when comparing too difference refs to the same native COM object returns false .NET difference

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 9 17:52:56 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=520437

User tom_hindle at sil.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=520437#c2





--- Comment #2 from tom hindle <tom_hindle at sil.org>  2009-07-09 15:52:55 MDT ---
Hi,

Thanks for looking in to this.

I think your provided Test case works because rt1 are __ComObject type not
Interops.

basically does (this code is generated from the idl using a custom tool):
public static LgWritingSystemFactory Create()
{
 return new _LgWritingSystemFactoryClass();
}

Where _LgWritingSystemFactoryClass is 

[ComImport()]
[ClassInterface(ClassInterfaceType.None)]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[Guid("D96B7867-EDE6-4c0d-80C6-B929300985A6")]
internal class _LgWritingSystemFactoryClass 
{
.
.
.
}

I will attempt to produce a complete Windows runnable test case.

Thanks

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list