“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”
IUnknown is the Basic COM interface on which all others are based on. The Three methods of IUnknown are 1) QueryInterface 2) Addref 3) Release All the COM interfaces inherit these three methods from IUnknown.
IUnknown as an interface of a COM object. Every COM object has to support IUnknown, besides optionally adding other interfaces.
I would love to, but unfortunately cannot explain what COM interfaces are, in this short comment. Please refer to any COM text for a description.
IUnknown is made of QueryInterface, AddRef and Release.
IUnknown is the Basic COM interface on which all others are based on.
The Three methods of IUnknown are
1) QueryInterface
2) Addref
3) Release
All the COM interfaces inherit these three methods from IUnknown.
Leave an Answer/Comment