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

2005-12-07 Thread Jean Carrive
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 justallows to call gcc C code from C#,

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
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

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

Re: [Mono-dev] gmcs: 'Type.IsGenericInstance' property

2005-12-07 Thread Martin Baulig
On Wed, 2005-12-07 at 12:04 +, george moudry wrote: Dear Mono-devel, I would like to compile gmcs with Microsoft's DLLs (mscorlib.dll version 2.0). (Reason: just downloaded Visual Studio Express, and created a tiny project for gmcs to try both out) Compilation fails because gmcs uses a

[Mono-dev] mod_mono vs xsp

2005-12-07 Thread Carlos Solorzano
We are going to try switching from XSP to apache/mod_mono hoping to get around http://bugzilla.ximian.com/show_bug.cgi?id=76667 Is there anything I should know about mod_mono, how is it different from xsp? I am guessing everything will pretty much just work, without many changes? Any