+ Reply to Thread
Results 1 to 2 of 2

Thread: What is IUnknown in COM?

  1. #1

    What is IUnknown in COM?

    What is IUnknown in COM?

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Posts
    109
    IUnknown is base interface for any COM object.

    COM is Component Object Model programming which is based on interface programming.

    COM objects can be wrapped into DLL and can expose its services by exporting interfaces.

    IUnknown has three services routines that each Interface that COM Object has to implement.

    a. QueryInterface
    This is useful to query the interface to get required interface pointer work upon.

    b. AddRef
    This is used for reference counting.

    c. Release
    This is used for reference counting.

    For more information: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts