[Mono-bugs] [Bug 81754][Nor] New - [WIN32] EntryPointNotFoundException locating CopyMemory function in kernel32
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 28 07:23:08 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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=81754
--- shadow/81754 2007-05-28 07:23:08.000000000 -0400
+++ shadow/81754.tmp.16696 2007-05-28 07:23:08.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 81754
+Product: Mono: Runtime
+Version: 1.2
+OS:
+OS Details: Windows XP SP2
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: interop
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [WIN32] EntryPointNotFoundException locating CopyMemory function in kernel32
+
+Running the following code using Mono results in an
+EntryPointNotFoundException:
+
+using System;
+using System.Runtime.InteropServices;
+
+class Program
+{
+ [DllImport ("kernel32.dll", EntryPoint="CopyMemory")]
+ internal extern static void Win32CopyMemory(
+ IntPtr Destination,
+ IntPtr Source,
+ int length);
+
+ static void Main ()
+ {
+ Win32CopyMemory (IntPtr.Zero, IntPtr.Zero, 5);
+ }
+}
More information about the mono-bugs
mailing list