TPJVersionInfo 3.3.1

By Peter Johnson

Freeware 24 Jan 2013

In category

Components > System > Version Info

Description

TPJVersionInfo is a 32 bit non-visual component for all Win32 and Win64 versions of Delphi that encapsulates the version information contained in an executable file's resources.

The component reads information from a designated file's VERSIONINFO resource. The required file is specified in the component's FileName property. Setting FileName to the empty string fetches version information for the executable containing the component. The boolean HaveInfo property indicates whether the file contains version information. This component can access variable file information for each language provided in the resource.

Run-time properties enable access to to version information. Properties enable:

  • Access to fixed file information, either by field or the whole record.
  • Access to the number of translations stored in the version information.
  • Selection of the translation for which information is to be returned by other properties.
  • Access to the language and code page of the current translation - by code and by name.
  • Access to the string file information for the current translation - named properties access the Microsoft-defined string information, while an array property gives access to any string item by name.
The component makes calls to the Windows API. Therefore the version information being read must follow the Microsoft guidelines - be warned that not all software complies.

For detailed information about version information refer to the Win32 SDK.

A help file is provided that integrates with the help system of Delphi 3 to 7 only. The component is also documented online.

The source code for two demo projects is included.

Informations

  • Status: Fully functional
  • Source: FW
  • Exe demo: included
  • Size: 77 110kB

Platforms:

  • C++ Builder 1
  • C++ Builder 3
  • C++ Builder 4
  • C++ Builder 5
  • C++ Builder 6
  • Delphi 2
  • Delphi 2005 (VCL)
  • Delphi 2006 (Win32)
  • Delphi 2007 (VCL)
  • Delphi 2009
  • Delphi 2010
  • Delphi 3
  • Delphi 4
  • Delphi 5
  • Delphi 6
  • Delphi 7
  • Delphi XE
  • Delphi XE 2
  • Delphi XE3
  • Delphi XE2 64-bit

Downloads