What are the purposes of AddRef, Release and QueryInterface functions?
Submitted by: AdministratorQuery Interface method is used to get the pointer to the
interface specified in one of the parameters of this
method. Client then uses this pointer to call the method of
the component.
AddRef and Release are used to increase and decrease the
count of the instance of component loaded in memory
respectively. when the count reaches zero the component is
unloaded.
Submitted by: Administrator
interface specified in one of the parameters of this
method. Client then uses this pointer to call the method of
the component.
AddRef and Release are used to increase and decrease the
count of the instance of component loaded in memory
respectively. when the count reaches zero the component is
unloaded.
Submitted by: Administrator
Read Online DCOM COM Job Interview Questions And Answers
Top DCOM COM Questions
☺ | What happens when client calls CoCreateInstance? |
☺ | What is In-proc? |
☺ | Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C? What?s the difference between aggregated and contained objects? |
☺ | What is a moniker? |
☺ | What is the difference, if any, between OLE and COM? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |