Sign in Join
FPDoc Onlineexperiment

TObject.GetInterfaceWeak function

Member of TObjectpublicIn unit System

Get a reference to an interface, not increasing the reference count.

Declaration

pascal
function GetInterfaceWeak(const iid: TGUID; out obj): Boolean

Description

GetInterfaceWeak performs the same function as Getinterface, but unlike the latter, it will not increase the reference count of the interface.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.