Re: [Mono-dev] mono_method_desc_search_in_image problem, and some question...

2018-02-12 Thread R Zaghi
I think we need to know a bit more about what you are doing in the code exactly but as a quick first guess if you are recompiling using a system() call then are you 100% sure the old files are all overwritten? There are a couple of different ways to get compiled binary at runtime without a

[Mono-dev] mono_method_desc_search_in_image problem, and some question...

2018-02-12 Thread pierre
Hi, I am trying to embed mono... and I ran into a problem with the code: monoMethodDesc = mono_method_desc_new("Script:Main", 0); method = mono_method_desc_search_in_image(monoMethodDesc, monoEngine->image); It is returning a method on the cs code: public class Script {