How are COM objects sorted between application domains?

Out of curiosity - I was wondering how COM objects in C # ordered by application domain names ?

As far as I understand, they cannot be ordered by reference (not from MarshalByRefObject). I doubt that they are serializable, so it doesn't matter - it will only go away due to bleeding. Is that what is happening? Or is there anything else at work?

I did not find any information about this anywhere. I basically saw only trial and error that convey them simply ... it works. But I do not know why and how, and if this is true for any COM object.

Are there any special problems transferring these areas of the application — for example, do you need to explicitly publish them in each domain that uses them?

+4
source share

Source: https://habr.com/ru/post/1664190/


All Articles