Thanks for the help.
I tried your suggestion but still it does not work.
92 MonoMethodDesc* pMethodDescCreateCompiler =
mono_method_desc_new(System.CodeDom.Compiler.CodeDomProvider:CreateCompiler(),
false);
(gdb) n
93 MonoMethod* pMethodCreateCompiler =
Thanks Robert.
It still does not work. Was it working in your case ? Now I begin to wonder
if there are any issues with my system
--
View this message in context:
http://mono.1490590.n4.nabble.com/Invoking-net-interface-method-from-c-api-tp4666493p4666497.html
Sent from the Mono - Dev mailing
In MonoJitInfo there is a union:
union {
MonoMethod *method;
MonoImage *image;
gpointer aot_info;
gpointer tramp_info;
} d;
How do I know which thing to dereference against? There is a field
is_trampoline which
Hi,
method is valid if is_async is FALSE. aot_info is valid if is_async is
TRUE. image is an internal field, its used internally by the MonoJitInfo
code.
Zoltan
On Wed, Aug 19, 2015 at 1:33 PM, Neale Ferguson ne...@sinenomine.net
wrote:
In MonoJitInfo there is a union:
I am trying to compile a source from c API of mono. Please see my code below.
//System.CodeDom.Compiler.CompilerParameters parameters = new
CompilerParameters();
MonoClass* pCompilerParamsClass = mono_class_from_name (pSystemImage,
System.CodeDom.Compiler, CompilerParameters);
On 19.08.2015 08:39, zebrajap wrote:
This code fails at MonoObject* pIcc =
mono_runtime_invoke(pMethodCreateCompiler, pCodeProvider, NULL, NULL); line.
What am I doing wrong.
You're supposed to call mono_object_get_virtual_method () on the
interface method prior to invoking it on a derived