COM compatible IUnknown C++ interface.
- Note
- Because AddRef and Release are not required to return accurate values, callers of these methods must not use the return values to determine if an object is still valid or has been destroyed. (Standard M*cr*s*ft disclaimer)
For further information please refer to the Microsoft documentation for IUnknown.
- Note
- This class will work only with compilers that can produce COM-compatible object layouts for C++ classes. egcs can not do this. Metrowerks can do this (if you subclass from __comobject).