[Mono-dev] [Mono-list] Mono embedded : EXC_BAD_ACCESS calling mono_object_hash() on MonoDomain *

Robert Jordan robertj at gmx.net
Tue Nov 22 16:28:07 UTC 2016


Jonathan,

On 22.11.2016 12:12, Jonathan Mitchell wrote:
> At a pinch I could do what I need in managed code but I will try and add the required accessor to appdomain.c and see how I get on.

You could temporarily define a local version of the
MonoAppDomain struct in your code, so you don't have
to modify the runtime:

http://lists.ximian.com/pipermail/mono-devel-list/2006-January/016570.html


The struct didn't change (it was split into 2 structs):

https://github.com/mono/mono/blob/master/mono/metadata/object-internals.h#L167


Or wait another 10 years for the public API :))

Robert





More information about the Mono-devel-list mailing list