On Nov 18, 2006, at 4:25 AM, Hugh Perkins wrote:

How can arrays be passed from C into embedded Mono?

As I had mentioned in IRC (remember, you decided to /ignore me)

The answer is in the documentation (http://www.mono-project.com/ Interop_with_Native_Libraries#Arrays_Embedded_Within_Structures)

There should be no difference conceptually between marshalling an array into a standard managed Mono runtime versus marshalling into a embedded Mono runtime. You still need to marshal the data properly between the unmanaged and managed bits of the executable's runtime. The steps for calling and passing the array from C into the embedded runtime should be apparent after conforming the following bits of documentation (http://www.mono-project.com/ Embedding_Mono#Invoking_Methods_in_the_CIL_universe) to your needs.


Cheers

R. Tyler Ballance: Custom Mac and Linux Development at bleep. consulting
contact: [EMAIL PROTECTED] | jabber: [EMAIL PROTECTED]


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to