[Mono-list] Hello World works!

Dietmar Maurer dietmar@ximian.com
Tue, 04 Sep 2001 08:20:53 +0200


Lloyd Dupont wrote:

> (I would apologize for spamming Miguel, problems with my mailer...)
>
> > The executable is being compiled on Windows with .NET Beta2, just like
> > the rest of our class libraries and then copied over to Linux.
> you mean i use csc to build my class on windows and just copy it on
> libux and,
> IT WORKED !
> great !
>
> BTW, hmm, i have a question, in my own projet i have interop code
> (actually ordinary C code), i guess this one has to be rewrite but my
> question is the folowing
>
> i import it like this
> [DllImport("mydll")]
> public static extern returntype myFonction(myArgument);
>
> i put "mydll" without the ".dll" extension. on linux would interop
> search for adll.so ? or whatelse ?
>

On linux it will search for mydll.so

- Dietmar