зеркало из https://github.com/mono/mail-archives.git
88 строки
3.1 KiB
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 <michal.moskal@gmail.com>
|
|
</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
|
|
<<A HREF="mailto:james.fitzsimons@gmail.com">james.fitzsimons@gmail.com</A>> wrote:
|
|
><i> Ok. I just tried this:
|
|
</I>[...]
|
|
><i> handle = dlopen ("libncurses.so", RTLD_LAZY);
|
|
</I>[...]
|
|
><i> Opened libncurses successfully
|
|
</I>
|
|
Hmm, maybe through gmodule:
|
|
|
|
// compile with:
|
|
// gcc `pkg-config --libs --cflags gmodule-2.0` fo.c
|
|
#include <gmodule.h>
|
|
|
|
int main()
|
|
{
|
|
GModule *mod;
|
|
mod = g_module_open("libncurses", G_MODULE_BIND_LAZY);
|
|
if (mod == NULL)
|
|
printf("error: %s\n", g_module_error ());
|
|
else
|
|
printf("ok: %p\n", mod);
|
|
return 0;
|
|
}
|
|
|
|
><i> I am following up on another theory as well to do with the version of
|
|
</I>><i> gcc used to build mono. I will let you know if that makes any
|
|
</I>><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>+++ 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>
|