Re: Mono embedded : EXC_BAD_ACCESS calling mono_object_hash() on MonoDomain *

Jon Purdy via Mono-list <[email protected]> Tue, 22 Nov 2016 00:45:55 +0000
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
A MonoDomain is not a MonoObject—they have very different internal representations. MonoDomain does internally contain a field (“domain”) of type MonoAppDomain*, which is compatible with MonoObject*, but I don’t think we expose this. What problem are you trying to solve?

On 11/21/16, 3:08 PM, "Mono-list on behalf of Jonathan Mitchell" <[email protected] on behalf of [email protected]> wrote:

    My Obj C code seems to be having issues calling mono_object_hash() on a MonoDomain *.
    Calling mono_object_get_class(monoDomain) is also failing;
    
    I had presumed that MonoDomain * could be queried and handled like a regular MonoObject *.
    Is that the case?
    
    Jonathan
    _______________________________________________
    Mono-list maillist  -  [email protected]
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-list&data=02%7C01%7Cjopur%40microsoft.com%7C063c249c826d44c3fe5908d412635054%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636153665147544740&sdata=2d%2FyuqsTOGQsQuP3Y5TNQjlCzLlZaolUa%2B6xi6RdlSM%3D&reserved=0
    

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.dot.net/mailman/listinfo/mono-list