I am trying to understand how COM points out the layout of its objects so that the client who wants to use the COM object knows how to do this.
I read that a COM object that implements several interfaces can do this in different ways, including using nested classes or multiple inheritance.
I understand that both methods would have to create the same memory layout (corresponding to the COM specification) so that a client who wants to use a COM object (for example, in C) knows how to do this.
So, my specific question is: is there a difference in the memory layout for C ++ objects implemented using multiple inheritance compared to nested classes.
And can someone tell me where the layout of the COM object is indicated?
source
share