Sign in Join
FPDoc Onlineexperiment

GetProgramVersion function

In unit FileInfo

Extracts version information from the current executable

Declaration

pascal
function GetProgramVersion(out Version: TVersionQuad): Boolean

Arguments

Version

Variable to receive the extracted version information

Function result

Returns True if version information was successfully extracted

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

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