[Mono-bugs] [Bug 79117][Nor] Changed - [PATCH] Marshal.StringToHGlobalAuto & PtrToStringAuto not working as expected

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 31 08:54:20 EDT 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 gert.driesen at pandora.be.

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

--- shadow/79117	2006-08-31 08:44:09.000000000 -0400
+++ shadow/79117.tmp.30550	2006-08-31 08:54:20.000000000 -0400
@@ -279,6 +279,15 @@
 *** Bug 79116 has been marked as a duplicate of this bug. ***
 
 ------- Additional Comments From vargaz at gmail.com  2006-08-31 08:44 -------
 About the patch: I would prefer adding Auto versions of the icalls, and
 putting the #ifdef PLATFORM_WIN32 into the body of the icalls.
 
+
+------- Additional Comments From gert.driesen at pandora.be  2006-08-31 08:54 -------
+Zoltan,
+
+Using SystemDefaultCharSize (1 or 2) in managed code to decide 
+whether to call the Unicode or Ansi versions is not an option ?
+
+That way, you can avoid #ifdef PLATFORM_WIN32 altogether, and remove 
+the *Auto icalls.


More information about the mono-bugs mailing list