[Mono-list] Calling method with complex arguments (embedded)
Robert Jordan
robertj at gmx.net
Thu Mar 26 07:57:31 EDT 2009
Robert Bielik wrote:
> Robert Jordan skrev:
>> Then invoke t.MakeGenericType (new Type [] {typeof (double[]) })
>> with mono_runtime_invoke to obtain the constricted type
Opps, s/constricted/constructed/
>> (List<double[]>).
>
> Ok, that's where I lost it, have no idea how to... :( Is there some tutorial/docs on how
> to accomplish this (C++)? Browsed the API docs at the site, but that didn't tell me much...
Have a look at:
- embedding starter
http://www.mono-project.com/Embedding_Mono
- embedding samples:
http://anonsvn.mono-project.com/viewvc/trunk/mono/samples/embed/
- docs of mono_runtime_invoke:
http://tinyurl.com/cztrxx
- alternatively: method thunks:
http://tinyurl.com/6ztutu
Robert
More information about the Mono-list
mailing list