[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
Mon Aug 21 15:26:21 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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=79117
--- shadow/79117 2006-08-21 14:09:23.000000000 -0400
+++ shadow/79117.tmp.21307 2006-08-21 15:26:21.000000000 -0400
@@ -10,13 +10,13 @@
Component: interop
AssignedTo: mono-bugs at ximian.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Summary: Marshal.StringToHGlobalAuto & PtrToStringAuto not working as expected
+Summary: [PATCH] Marshal.StringToHGlobalAuto & PtrToStringAuto not working as expected
Mono's StringToHGlobalAuto and PtrToStringAuto methods of the Marshal
class do not work correctly when interacting with the win32 API.
To reproduce:
@@ -106,6 +106,11 @@
As you see, "Auto" gets mapped to "Ansi".
Under Windows this is wrong. It should be mapped
to a function which depending on Marshal.SystemDefaultCharSize
it calls either *Ansi or *Unicode.
+
+------- Additional Comments From robertj at gmx.net 2006-08-21 15:26 -------
+For performance reasons the patch uses compile time conditionals.
+Is this okay style-wise?
+
More information about the mono-bugs
mailing list