[Mono-bugs] [Bug 81659][Nor] Changed - Win32 Interop Issue
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu May 17 13:24:22 EDT 2007
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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81659
--- shadow/81659 2007-05-17 13:00:47.000000000 -0400
+++ shadow/81659.tmp.28524 2007-05-17 13:24:22.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 81659
Product: Mono: Runtime
Version: 1.1
-OS:
+OS: unknown
OS Details: Vista
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: interop
AssignedTo: mono-bugs at ximian.com
ReportedBy: monkey at jpobst.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -64,6 +64,32 @@
Expected Results (.net 2.0):
open succeeded: True
empty succeeded: True
hmem: 2142512
set succeeded: True (0)
close succeeded: True
+
+------- Additional Comments From sebastien at ximian.com 2007-05-17 13:24 -------
+The sample does work with my old Mono 1.2.2.1 under Windows XP.
+
+C:\Temp>mono --version
+Mono JIT compiler version 1.2.2.1, (C) 2002-2006 Novell, Inc and
+Contributors. www.mono-project.com
+ TLS: normal
+ GC: Included Boehm (with typed GC)
+ SIGSEGV: normal
+ Disabled: none
+
+C:\Temp>mono 81659.exe
+open succeeded: True
+empty succeeded: True
+hmem: 12492568
+set succeeded: True (0)
+close succeeded: True
+
+Note that to ensure GetLastError is meaningful you should use:
+ [DllImport ("user32.dll", SetLastError=true)]
+and
+ Marshal.GetLastWin32Error ()
+
+Maybe it wouldn't be 0 ?
+
More information about the mono-bugs
mailing list