Robert Jordan wrote:
> You don't need HandleRefs when using icalls and the embedded API.
> Just declare the icalls as non-static and they will automatically
> get the MonoObject* pointer of the managed object:
Ah, very interesting. I assume this increases the ref count which
assures that the obj
Thomas Wiest wrote:
> Hey,
> I'm using the Mono embedding API and I'm using HandleRef's instead
> of IntPtr's (as per the instructions on the interop page).
>
>
> http://www.mono-project.com/Interop_with_Native_Libraries
>
>
> However, the HandleRef's seem to only be marshaled to IntPtr's
Hey,
I'm using the Mono embedding API and I'm using HandleRef's instead of
IntPtr's (as per the instructions on the interop page).
http://www.mono-project.com/Interop_with_Native_Libraries
However, the HandleRef's seem to only be marshaled to IntPtr's if you're
using p/invoke's. I've attac
Argiris Kirtzidis wrote:
>> AFAIK there is no way to do this after the class (or even the assembly?)
>> with the corresponding internal call has been loaded by the runtime.
>
> Before 'mono_jit_exec' I add an internal call 'do_icall_registration'. In
> the managed code, If I add the call 'do_ical
I've noticed the following type of files:
http://svn.myrealbox.com/source/trunk/taglib-sharp/docs/en/TagLib/SupportedMimeType+%3c%3ec__CompilerGenerated1+%3c%3ec__CompilerGenerated3.xml
http://svn.myrealbox.com/source/trunk/taglib-sharp/docs/en/TagLib/SupportedMimeType+%3c%3ec__CompilerGenerated2+
> AFAIK there is no way to do this after the class (or even the assembly?)
> with the corresponding internal call has been loaded by the runtime.
Before 'mono_jit_exec' I add an internal call 'do_icall_registration'. In
the managed code, If I add the call 'do_icall_registration' to a static
clas
Argiris Kirtzidis wrote:
> Hi all,
>
> I'm using the Mono embedding API, and noticed that if I call
> 'mono_add_internal_call' after the managed program started execution
> (with 'mono_jit_exec'), the internal call doesn't get registered and
> a MissingMethodException is thrown when the managed co
Hi all,
I'm using the Mono embedding API, and noticed that if I call
'mono_add_internal_call' after the managed program started execution (with
'mono_jit_exec'),
the internal call doesn't get registered and a MissingMethodException is thrown
when the managed code tries to call it.
Is there a w