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 [EMAIL PROTECTED]

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

--- shadow/79117        2006-08-21 13:46:26.000000000 -0400
+++ shadow/79117.tmp.20343      2006-08-21 13:52:32.000000000 -0400
@@ -75,6 +75,19 @@
 mismatch in the p/invoke declaration of the
 external method.
 
 
 ------- Additional Comments From [EMAIL PROTECTED]  2006-08-21 13:46 -------
 *** Bug 79062 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-08-21 13:52 -------
+The problem is DllImport.CharSet = CharSet.Auto.
+
+If I run the sample with 
+
+MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono test.exe
+
+I can see how "FormatMessageA" is looked up. That's wrong.
+It should be "FormatMessageW", because I'm running XP.
+
+Marshal.SystemDefaultCharSize is 2, which is correct.
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to