[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    RE: [Mono-list] Some news about a CORBA ORB implementation for.Net
From:       Dietmar Maurer <dietmar () ximian ! com>
Date:       2002-09-30 9:50:25
[Download RAW message or body]

On Mon, 2002-09-30 at 10:56, Michael Meeks wrote:
> Hi Dietmar,
> 
> On Fri, 2002-09-27 at 13:36, Dietmar Maurer wrote:
> > On Fri, 2002-09-27 at 11:13, Michael Meeks wrote:
> > > 	So, we'd implement a custom Mono object adaptor [ as do the Python &
> > > gobject-adaptor bindings ], and it'd just work. The thing is while I can
> > > explain what to do conceptually, it'd take me a long time to get into
> > > the Mono C internals - since really, that's where the mapping has to
> > > happen I think.
> > 
> > C#/Mono has that PInvoke feature, so you can simply call any C# method
> > you want from C, just like a normal C function.
> 
> 	Sure; the thing is we don't want to invoke a C method; we want to
> marshal the arguments to the C ABI, and then invoke a generic method -
> since it may well not be C at the other end of the invoke. But - yes, it
> should re-use a big chunk of the PInvoke code.

Don't understand that. PInvoke works in both directions, i.e. you can
invoke any C function for C#, or any C# function from C.

- Dietmar


_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic