TResourceFile.Init

Instantiate a new instance.

Declaration

Source position: objects.pp line 537

default 
  constructor Init(AStream: PStream);

Description

Init instantiates a new instance of a TResourceFile object. If AStream is not nil then it is considered as a stream describing an executable image on disk.

Init will try to position the stream on the start of the resources section, and read all resources from the stream.

Errors

None.

See also

Name Description
TResourceFile.Done Destroy the instance and remove it from memory.