http://bugzilla.novell.com/show_bug.cgi?id=520437
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=520437#c5 --- Comment #5 from Robert Jordan <[email protected]> 2009-07-10 19:28:41 MDT --- Thanks for the test case. I'll try to find the right words to explain this issue: Mono's COM interop support is based on the remoting infrastructure. This means that whenever a COM object is to be created (with "new" or "newobj" in IL), the runtime is first creating a proxy and a transparent proxy. The latter is the actual reference of the newly created object. At the time "newobj" is called, there is no way to know in advance that the same IUnknown ptr will be wrapped later on, because the code that would be able to check this (__ComObj..ctor) is called later. When a COM object is returned by a p/invoke method, the runtime does not have the constraints imposed by "newobj". I'll try to come up with a hack for this issue. -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
