CAN YOU EXPLAIN IUNKNOWN INTERFACE USED IN COM ?

Amit Singh

Total Post:565

Points:2825
Posted by  Amit Singh
 1544  View(s)
Ratings:
Rate this:
  1. Amit Singh

    Post:565

    Points:2825
    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!