SidCMC
Jan 16th, 2008, 06:28 AM
:confused:
Please help me with COM concepts. Following is the matter taken
from MSDN(double quoted) :-
"Referring to an object implementing an interface means that the object uses code that implements each method of the interface and provides COM binary-compliant pointers to those functions to the COM library. COM then makes those functions available to any client who asks for a pointer to the interface, whether the client is inside or outside of the process that implements those functions."
Here are some of my questions ::
1)Does the object implementing the interface belong to the class which
contains the interface ?
2) What is this theory that states pointers to functions being stored
in COM libraries.
3) Let us consider the above points to be true. Now if an object
belonging to some other process wants to use our COM object.
How does this object store the function pointers contained
in our library.
It has all got messed up in my head. Would you please throw some light
on this?:confused:
Please help me with COM concepts. Following is the matter taken
from MSDN(double quoted) :-
"Referring to an object implementing an interface means that the object uses code that implements each method of the interface and provides COM binary-compliant pointers to those functions to the COM library. COM then makes those functions available to any client who asks for a pointer to the interface, whether the client is inside or outside of the process that implements those functions."
Here are some of my questions ::
1)Does the object implementing the interface belong to the class which
contains the interface ?
2) What is this theory that states pointers to functions being stored
in COM libraries.
3) Let us consider the above points to be true. Now if an object
belonging to some other process wants to use our COM object.
How does this object store the function pointers contained
in our library.
It has all got messed up in my head. Would you please throw some light
on this?:confused: