Re: [Mono-dev] Calling .NET code from unmanaged C

2005-12-07 Thread Jb Evain
Hello Jean, On Dec 7, 2005, at 11:35 AM, Jean Carrive wrote: 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

Re: [Mono-dev] Calling .NET code from unmanaged C

2005-12-07 Thread Mikkel Kruse Johnsen
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

Re: [Mono-dev] Calling .NET code from unmanaged C

2005-12-07 Thread Davide Morelli
yes, you can do it embedding mono in your C application. have a look at the /samples/embed folder and its examples. ciao, davide. - Original Message - From: Jean Carrive To: mono-devel-list@lists.ximian.com Sent: Wednesday, December 07, 2005 11:35 AM Subject:

RE: [Mono-dev] Calling .NET code from unmanaged C

2005-12-07 Thread Jean Carrive
-list@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

Re: [Mono-dev] Calling .NET code from unmanaged C

2005-12-07 Thread Robert Jordan
Jean Carrive wrote: 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