[Mono-dev] Calling .NET code from unmanaged C
Jean Carrive
jcarrive at ina.fr
Wed Dec 7 07:22:46 EST 2005
I compiled the examples, but at run-time I get this error :
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the '/usr/lib/mono/1.0/mscorlib.dll'
directory.
Actually, when I installed Mono as a regular user, it installed itself under
my home directory, and when I installed Mono as root, it installed itself
under /opt/mono/-1.1.10
Did I miss some installation option ?
Thanks,
Jean
________________________________
De : Mikkel Kruse Johnsen [mailto:mikkel at linet.dk]
Envoyé : mercredi 7 décembre 2005 11:42
À : Jean Carrive
Cc : mono-devel-list at lists.ximian.com
Objet : Re: [Mono-dev] Calling .NET code from unmanaged C
On Wed, 2005-12-07 at 11:35 +0100, Jean Carrive wrote:
Hi,
I am quite new to mono and maybe my question is very
naive...
I am looking for a way to call .NET code from "standard" C
code compiled with gcc and runing on Linux. Does Mono offer a way to do that
? I have tried SWIG but it seems that SWIG just allows to call gcc C code
from C#, and not the other way round.
Best regards,
Jean Carrive
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Hi
Yes it is possible, have a look at
http://www.mono-project.com/Embedding_Mono
/Mikkel
More information about the Mono-devel-list
mailing list