Sign in Join
FPDoc Onlineexperiment

SetResourceManager procedure

In unit System

Set the resource manager.

Declaration

pascal
procedure SetResourceManager(const &New: TResourceManager)

Description

SetResourceManager sets the active resource manager to Manager. After a call to SetResourceManager, the functions in the Manager record will be used to handle resources.

Note that it is not supported to change resource managers on-the-fly: any resources or information about resources obtained should be discarded prior to a call to SetResourceManager. Typically, SetResourceManager should be called once, at program startup.

Errors

None.

See also

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