зеркало из https://github.com/mono/mail-archives.git
76 строки
2.6 KiB
HTML
76 строки
2.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-list] Importing from DLLs
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:jonpryor%40vt.edu">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="016648.html">
|
|
<LINK REL="Next" HREF="016673.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-list] Importing from DLLs
|
|
</H1>
|
|
<B>Jonathan Pryor
|
|
</B>
|
|
<A HREF="mailto:jonpryor%40vt.edu"
|
|
TITLE="[Mono-list] Importing from DLLs">jonpryor@vt.edu
|
|
</A><BR>
|
|
<I>Thu, 30 Oct 2003 07:40:52 -0500</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="016648.html">[Mono-list] Importing from DLLs
|
|
</A></li>
|
|
<LI> Next message: <A HREF="016673.html">[Mono-list] About Mono.net???I have some doubts.....
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#16651">[ date ]</a>
|
|
<a href="thread.html#16651">[ thread ]</a>
|
|
<a href="subject.html#16651">[ subject ]</a>
|
|
<a href="author.html#16651">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>On Unix (-like) platforms, the convention is to prefix all libraries
|
|
with "lib". Mono is just following that convention.
|
|
|
|
So one potential fix is to rename the library so it has a "lib" prefix.
|
|
|
|
(It should be noted that Java JNI requires the lib prefix.)
|
|
|
|
Another potential fix is to edit $prefix/etc/mono/config, and add a
|
|
<dllmap/> entry for your library. This should do what you want.
|
|
|
|
- Jon
|
|
|
|
On Thu, 2003-10-30 at 06:34, Chris Seaton wrote:
|
|
><i> Hello, again.
|
|
</I>><i>
|
|
</I>><i> Sorry to keep asking more questions...
|
|
</I>><i>
|
|
</I>><i> When I use DllImport with the file name "Tenxt.UI.Text.Native.so", Mono
|
|
</I>><i> prepends "lib" so that the runtime looks for
|
|
</I>><i> "libTenxt.UI.Text.Native.so". This isn't how it works on Windows - how
|
|
</I>><i> can I stop it doing this?
|
|
</I>
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="016648.html">[Mono-list] Importing from DLLs
|
|
</A></li>
|
|
<LI> Next message: <A HREF="016673.html">[Mono-list] About Mono.net???I have some doubts.....
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#16651">[ date ]</a>
|
|
<a href="thread.html#16651">[ thread ]</a>
|
|
<a href="subject.html#16651">[ subject ]</a>
|
|
<a href="author.html#16651">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|