[Mono-bugs] [Bug 75604][Wis] Changed - Output the dllmap so name
instead of the one in the attribute
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jul 22 10:45:11 EDT 2005
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 vargaz at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75604
--- shadow/75604 2005-07-21 15:16:43.000000000 -0400
+++ shadow/75604.tmp.29384 2005-07-22 10:45:11.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 75604
Product: Mono: Runtime
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: tberman at off.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -21,6 +21,33 @@
using <dllmap> the mapped name is used instead of the name in the attribute.
I don't know how easy of a fix this is, but it would certainly help out a
lot with a lot of the same gtk# questions over and over again. ("Why is it
trying to load a win32 dll instead of a so"). It also would reflect more
accurately what it is attempting to load.
+
+------- Additional Comments From vargaz at gmail.com 2005-07-22 10:45 -------
+I think we already do that:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+using System.Diagnostics;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+public class Test
+{
+ [DllImport ("oci", EntryPoint="foo")]
+ public static extern void foo ();
+
+ public static void Main (string[] Args)
+ {
+ foo ();
+ }
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+This prints out:
+
+ Unhandled Exception: System.DllNotFoundException: clntsh
+
+on my system
More information about the mono-bugs
mailing list