[Mono-dev] Internal-Call

Robert Jordan robertj at gmx.net
Wed Dec 9 04:35:18 EST 2009


Dexter Yao wrote:
> 
> Is there a another better way to call from C#( managed code ) by passing the
> pointer( IntPtr in C# ) of one C++ object and invoke its method? ( like the
> Lua does )
> Looking forward to your reply.

There is no other way to invoke arbitrary C++ methods, but you
could design your classes (or write wrappers) for COM interop:

http://blog.worldofcoding.com/2009/08/binding-c-apis.html

Robert



More information about the Mono-devel-list mailing list