mail-archives/mono-list/2005-February/025693.html

88 строки
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] P/Invoke on amd64 was :Marshalling problems
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:Michal%20Moskal%20%3Cmichal.moskal%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="025690.html">
<LINK REL="Next" HREF="025694.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] P/Invoke on amd64 was :Marshalling problems
</H1>
<B>Michal Moskal
</B>
<A HREF="mailto:Michal%20Moskal%20%3Cmichal.moskal%40gmail.com%3E"
TITLE="[Mono-list] P/Invoke on amd64 was :Marshalling problems">Michal Moskal &lt;michal.moskal@gmail.com&gt;
</A><BR>
<I>Sun, 13 Feb 2005 16:22:04 +0100</I>
<P><UL>
<LI> Previous message: <A HREF="025690.html">[Mono-list] P/Invoke on amd64 was :Marshalling problems
</A></li>
<LI> Next message: <A HREF="025694.html">[Mono-list] P/Invoke on amd64 was :Marshalling problems
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25693">[ date ]</a>
<a href="thread.html#25693">[ thread ]</a>
<a href="subject.html#25693">[ subject ]</a>
<a href="author.html#25693">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sun, 13 Feb 2005 12:41:35 +0000, James Fitzsimons
&lt;<A HREF="mailto:james.fitzsimons@gmail.com">james.fitzsimons@gmail.com</A>&gt; wrote:
&gt;<i> Ok. I just tried this:
</I>[...]
&gt;<i> handle = dlopen (&quot;libncurses.so&quot;, RTLD_LAZY);
</I>[...]
&gt;<i> Opened libncurses successfully
</I>
Hmm, maybe through gmodule:
// compile with:
// gcc `pkg-config --libs --cflags gmodule-2.0` fo.c
#include &lt;gmodule.h&gt;
int main()
{
GModule *mod;
mod = g_module_open(&quot;libncurses&quot;, G_MODULE_BIND_LAZY);
if (mod == NULL)
printf(&quot;error: %s\n&quot;, g_module_error ());
else
printf(&quot;ok: %p\n&quot;, mod);
return 0;
}
&gt;<i> I am following up on another theory as well to do with the version of
</I>&gt;<i> gcc used to build mono. I will let you know if that makes any
</I>&gt;<i> difference.
</I>
The ABI in gcc is rather stable especially when not using C++.
--
:<i> Michal Moskal :: <A HREF="http://nemerle.org/~malekith/">http://nemerle.org/~malekith/</A> :: GCS !tv h e&gt;+++ b++
</I>:<i> You can't blame yourself for what gorillas did :: UL++++$ C++ E--- a?
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="025690.html">[Mono-list] P/Invoke on amd64 was :Marshalling problems
</A></li>
<LI> Next message: <A HREF="025694.html">[Mono-list] P/Invoke on amd64 was :Marshalling problems
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25693">[ date ]</a>
<a href="thread.html#25693">[ thread ]</a>
<a href="subject.html#25693">[ subject ]</a>
<a href="author.html#25693">[ author ]</a>
</LI>
</UL>
</body></html>