Project: Resource File Unit
Unit: PJResFile.
Class: TPJResourceFile
Applies to: ~>1.0
procedure LoadFromFile(const FileName: TFileName);
Loads a resource file from a named file. New TPJResourceEntry objects are created for each resource in the file.
Any TPJResourceEntry objects that existed before calling LoadFromFile are freed. You should be careful not to access any existing references to such objects after calling LoadFromFile.
Parameter:
- FileName: The name of the file from which to load the resource data.
Raises:
Exceptions are raised if the file does not exist or does not contain a valid resource file.