Skip to content

TVersionInfo.Load

Loads version information from a file or module instance

Declaration

Source position: fileinfo.pp line 47

public 
procedure Load(const Instance: THandle);  overload; overload;

procedure Load(const AFileName: string);  overload; overload;

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

Name Description
FixedInfo Fixed version information structure
StringFileInfo String-based version information
VarFileInfo Variable version information containing language and code page data