RegisterConnection procedure
Register a new connection type for use in the universal connector.
Declaration
procedure RegisterConnection(Def: TConnectionDefClass)Arguments
Def | The connection type definition to register. |
Description
RegisterConnection must be called with a class pointer to a
TConnectionDef descendent to register the connection type described
in the
TConnectionDef descendent. The connection type is
registered with the name as returned by
TypeName.
The various connection types distributed by Free Pascal automatically call
RegisterConnection from the initialization section of their unit,
so simply including the unit with a particular connection type is enough to
register it.
Connection types registered with this call can be unregistered with UnRegisterConnection.
Errors
if
Def is
Nil, access violations will occur.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
