[Mono-bugs] [Bug 77230][Nor] Changed - Marshalling C unions not working anymore

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 12 18:30:09 EST 2006


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 robertj at gmx.net.

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

--- shadow/77230	2006-01-12 17:12:52.000000000 -0500
+++ shadow/77230.tmp.17325	2006-01-12 18:30:09.000000000 -0500
@@ -46,6 +46,14 @@
 sensible way. When marshalling such a struct to native code, the
 runtime marshaller copies all three fields to the same position in the
 native struct, so that position will have the value of the last field,
 in this case d_int8. Or are you using this to marshal data in the
 native->managed direction ?
 
+
+------- Additional Comments From robertj at gmx.net  2006-01-12 18:30 -------
+I cannot reproduce that with the 1.1.13 branch.
+
+managed -> native produces the same (weird) results like MS.NET
+native -> managed works as expected
+
+


More information about the mono-bugs mailing list