What is IUnknown? What methods are provided by IUnknown?
Answers were Sorted based on User's Feedback
Answer / cheruku raghu
IUnknown is a type of COM Interface.
Every COM class implements an interface named IUnKnown.
IUnKnown contains three methods:
1) HRESULT QueryInterface()
2) ULONG AddRef()
3) ULONG Release()
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / mahesh
Iunknow is the base interface for any com component.
it supports three methods
addref()
release()
queryinterface()
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / krithiga.v
IUnknown is the base interface to all other derivable interface.
It contains the methods such as
>queryInterface()
>addRef()
>releaseRef()
| Is This Answer Correct ? | 1 Yes | 2 No |
Write a JCL to copy only selected members from a partitioned data set to another partitioned data set. (Use: IEBCOPY)
When you call CoInitialize(NULL) function how it works internally.
How do you make a NET component talk to a COM component?
How to create an instance of the object in COM?
Do COM keep track of all the object references(Accounting)?
What are the purposes of AddRef, Release and QueryInterface functions
What is IUnknown? What methods are provided by IUnknown?
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 should QueryInterface functions do if requested object was not found?
What is a moniker ?
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?
How do we create dcom object in vb6?