Unit 'FileInfo' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

GetProgramVersion

Extracts version information from the current executable

Declaration

Source position: fileinfo.pp line 111

function GetProgramVersion(

  out Version: TVersionQuad

):Boolean;

function GetProgramVersion(

  out Version: TProgramVersion

):Boolean;

Arguments

Version

  

Variable to receive the extracted version information

Function result

Returns True if version information was successfully extracted

Arguments

Version

  

Variable to receive the extracted version information

Description

GetProgramVersion retrieves the file version from the current executable's version resources. Returns True if version information was successfully extracted, False otherwise.

See also

TVersionInfo

  

Low-level class for accessing version information from executable files


Documentation generated on: Dec 15 2025