[Mono-devel-list] Wrong order in COM structure ?

Kazuki Oikawa kazuki at panicode.com
Mon Feb 14 11:13:37 EST 2005


Hi. Thank you for your review.

> Did you check the structure definitions in the C header files?
I have checked them on the MSDN libs yet.
but I will make sure original C header files.

> I see no reason to change the
> order of the methods in the interface, though, so those
> changes should not be committed without an explanation for the reason.
On MS .NET Framework if order of interface is changed it can't execute
because exception returns. So I think order of interface should be changed.
Example:http://kazuki.panicode.com/files/MonoInteroperating.zip
(Additionally it cannot execute the interoperating for interface well on Mono...)


Regards.
Kazuki Oikawa

On Sun, 13 Feb 2005 17:28:33 +0100
Paolo Molaro <lupus at ximian.com> wrote:

> On 02/12/05 Kazuki Oikawa wrote:
> > I thought that the order of the member which is declared in COM structure is wrong.
> > so I made the patch.
> 
> Did you check the structure definitions in the C header files?
> 
> > please review this patch. thanks.
> 
> If the new order of the fields comes from the C header files, it's fine 
> to commit the changes to the structures. I see no reason to change the
> order of the methods in the interface, though, so those
> changes should not be committed without an explanation for the reason.
> Thanks!
> 
> lupus
> 
> -- 
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 





More information about the Mono-devel-list mailing list