https://bugzilla.novell.com/show_bug.cgi?id=471680
User [email protected] added comment https://bugzilla.novell.com/show_bug.cgi?id=471680#c3 Zoltan Varga <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |INVALID --- Comment #3 from Zoltan Varga <[email protected]> 2009-02-02 15:14:06 MST --- When passing valuetypes (IntPtr is a valuetype) to methods using mono_runtime_invoke (), you need to pass the address of the valuetype, not the valuetype itself, i.e.: void* args[1]; void *p = &myStruct; args[0] = &p; mono_runtime_invoke (saveStructMethod, NULL, args, NULL); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
