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

Differentiate normal DLL to COM DLL

7 Answers   Talisma,


Explain Futures of COM?

0 Answers  


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?

0 Answers  


What are the different compatibility types when we create a COM component?

1 Answers   TCS,


Can I use .net components from com programs?

0 Answers  






What is In-proc?

4 Answers  


hi,I have applied for NIC test plz if any one have test paper pattrn plz send me on "mn_mayank38@yahoo.co.in"

1 Answers  


Which namespace do the classes, allowing you to support COM functionality, are located?

0 Answers  


How to create an instance of the object in COM?

0 Answers  


How does a DCOM component know where to instantiate itself?

1 Answers  


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

8 Answers  


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

1 Answers  


Categories