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

Can I use com components from .net programs?

0 Answers  


What is a moniker ?

3 Answers  


Do COM keep track of all the object references(Accounting)?

3 Answers   Microsoft,


What is In-proc?

4 Answers  


Can you explain what is dcom?

0 Answers  






How can would you create an instance of the object in COM

2 Answers  


What should QueryInterface functions do if requested object was not found?

1 Answers  


When you call CoInitialize(NULL) function how it works internally.

8 Answers  


How do you make a NET component talk to a COM component?

3 Answers   TCS,


How to Use structs in COM interfaces when Automation compatibility is not an issue?

1 Answers  


Is dcom dead?

0 Answers  


What happens when client calls CoCreateInstance?

2 Answers   Cap Gemini,


Categories