[Mono-bugs] [Bug 71017][Nor] Changed - P/Invoke methods inside dynamic assemblies don't marshal strings properly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 6 Jan 2005 15:11:19 -0500 (EST)


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 jonpryor@vt.edu.

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

--- shadow/71017	2005-01-06 15:03:45.000000000 -0500
+++ shadow/71017.tmp.20465	2005-01-06 15:11:19.000000000 -0500
@@ -125,6 +125,13 @@
 of consequence in mono or mcs (just a path change in scripts/dtd2xsd).
 
 ------- Additional Comments From jonpryor@vt.edu  2005-01-06 15:03 -------
 Created an attachment (id=13666)
 Output of "mono --trace srem.exe"
 
+
+------- Additional Comments From jonpryor@vt.edu  2005-01-06 15:11 -------
+From a cursory examination, the major difference appears to be between
+lines 1366 and 1376.  The SRE class (1366) calls
+__icall_wrapper_mono_marshal_string_to_utf16, while the normal
+P/Invoke signature (1376) calls __icall_wrapper_mono_string_to_lpstr.
+