Class TNonRefCountedInterfacedObject
Unit
Declaration
type TNonRefCountedInterfacedObject = class(TObject, IInterface)
Description
A class that can use interfaces and is not reference counted.
For COM-style interfaces, it's needed to descend from this to provide dumb _AddRef and _Release implementations (that do nothing) and trivial QueryInterface implementation.
See e.g. thread [http://lists.freepascal.org/lists/fpc-devel/2007-November/012060.html].
Hierarchy
- TObject
- TNonRefCountedInterfacedObject
Overview
Methods
![]() |
function _AddRef: Integer; cdecl; |
![]() |
function _Release: Integer; cdecl; |
![]() |
function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl; |
Description
Methods
![]() |
function _AddRef: Integer; cdecl; |
![]() |
function _Release: Integer; cdecl; |
![]() |
function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl; |
Generated by PasDoc 0.16.0.
