Show: Object Pascal C++
Display Preferences

System.SysUtils.GetFileVersion

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function GetFileVersion(const AFileName: string): Cardinal;

C++

extern DELPHI_PACKAGE unsigned __fastcall GetFileVersion(const System::UnicodeString AFileName);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Returns file version.

GetFileVersion returns the most significant 32 bits of a file binary version number. AFileName specifies the name of the file, which is searched using the same path as the LoadLibrary function.

GetFileVersion is only available on Windows and must not be used in cross-platform code.

See Also

Personal tools
Translations