Sign in Join
FPDoc Onlineexperiment

TVersionInfo.Load procedure

Member of TVersionInfopublicIn unit FileInfo

Loads version information from a file or module instance

Declaration

pascal
procedure Load(const Instance: THandle); overload
procedure Load(const AFileName: string); overload

Arguments

Instance

Module instance handle to load version information from

AFileName

File name to load version information from

Description

Load extracts version resources from the specified source. It can load from a file name or from a module instance handle. After successful loading, version information is available through the properties.

Errors

May raise exceptions if the file cannot be opened or contains invalid version resources.

See also

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