[Mono-bugs] [Bug 29256][Wis] Changed - Structure not properly marshalled on callback

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Sep 2002 13:38:06 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dietmar@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=29256

--- shadow/29256	Thu Sep 12 07:11:53 2002
+++ shadow/29256.tmp.27908	Thu Sep 12 09:38:06 2002
@@ -1,12 +1,12 @@
 Bug#: 29256
 Product: Mono/Runtime
 Version: unspecified
 OS: unknown
 OS Details: RH7.3
-Status: RESOLVED   
+Status: NEEDINFO   
 Resolution: FIXED
 Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jason@379.com               
@@ -115,6 +115,11 @@
 
 typedef void (*EventHandler)(Event);
 
 and you must use:
 
 handler (e); to call it (instead of handler(&e)).
+
+------- Additional Comments From dietmar@ximian.com  2002-09-12 09:38 -------
+Even if Event is a reference type, it is still passed by value in our
+runtime, and this is the behaviour mentioned in the MS docu. Please
+can you recheck that your example works on the MS runtime.