Can you explain IUnknown interface used in COM ?

Total Post:562

Points:2810
 1910  View(s)
Ratings:
Rate this:
  1. Post:562

    Points:2810
    Can you explain IUnknown interface used in COM ?

    COM is an acronym for Component Object Model. COM is a way of building objects that is independent of any programming language. 
    Every COM object implements an interface named IUnknown. It contains three methods:
    -         QueryInterface: Returns a pointer to another interface
    -         AddRef:  Increments the objects reference count
    -         Release: Decrements the objects reference count.

Answer