Skip to content

TAbstractResource.Create

Creates a new resource

Declaration

Source position: resource.pp line 165

protected 
constructor Create;  virtual;  overload; overload;

constructor Create(aType: TResourceDesc; aName: TResourceDesc);  virtual
                  ;  abstract;  overload; overload;

Description

A new resource is created with the given type and name.

Remark:

Please note that the resource doesn't take ownership of the TResourceDesc objects passed as parameters, it simply copies them: it's user responsibility to free them when no longer needed.