[Mono-list] Interop

Javier Miguel Gonzalez javier.miguel@experian.es
Tue, 14 Dec 2004 16:50:55 +0100


> > I want to call a .Net function (in a class) from unmanaged
> code, like VC+
> > +
> > 6
> > or Delphi 7.
> >
> > Do you know if it is possible?
> >
> > Are there something like JNI in .Net?
> >
> > I have read this articles:
> >
> >
> http://www.blong.com/Conferences/BorCon2004/Interop1/Win32AndD
otNetInterop.h
> tm#InversePInvoke
>
> http://www.codeproject.com/csharp/Win32_to_NET.asp
>
> ...but I feel that this methods are not so much standard.
>
> Are in Mono something better to do it than in MS .Net Framework?

> You could also check out SWIG at http://www.swig.org, which has C# support
> and works with the Microsoft runtime, mono, and Portable.NET.  There are a
> lot of examples on wrapping code provided by SWIG as well.
>
> John

Will Swig allow a VB6 or Delphi7 developer call a function within a managed
dll/so library?

I think that is the big question.

jmiguel