[Mono-dev] Internal-Call

P T Rajkumar ptrajkumar at gmail.com
Wed Dec 9 07:35:54 EST 2009





On Dec 9, 2009, at 4:35 AM, Robert Jordan <robertj at gmx.net> wrote:

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

Please look into SWIG as well. It can
Automatically generate wrappers from c++ to csharp

Raj

> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list


More information about the Mono-devel-list mailing list