What is IUnknown? What methods are provided by IUnknown?




Answers were Sorted based on User's Feedback



What is IUnknown? What methods are provided by IUnknown?..

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

What is IUnknown? What methods are provided by IUnknown?..

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

What is IUnknown? What methods are provided by IUnknown?..

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



Post New Answer



More COM DCOM Interview Questions

Define and explain COM?

8 Answers   Microsoft,


How does a DCOM component know where to instantiate itself?

1 Answers  


Explain queued components.

2 Answers  


Explain object pooling?

1 Answers   HCL,


where can i use pmcmd commands of informatica

1 Answers  






Futures of COM

3 Answers   MIT,


What is a moniker ?

3 Answers  


Which tool is used to configure the port range and protocols for DCOM communications?

1 Answers  


What happens when client calls CoCreateInstance?

2 Answers   Cap Gemini,


Let?s assume 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?

3 Answers  


can a COM interface be implemented by more than one COM class in the same COM component?

2 Answers   Cap Gemini, Honeywell,


what is oops

11 Answers   Accenture,






Categories