TPJVersionInfo is a 32 bit non-visual component for all Win32versions of Delphi and C++Builder that encapsulates the version informationcontained in an executable file's resources.The component reads information from a designated file'sVERSIONINFO resource. The required file is specified in thecomponent's FileName property. Setting FileNameto the empty string fetches version information for the executable containingthe component. The boolean HaveInfo property indicates whether thefile contains version information. This component can access variable fileinformation for each language provided in the resource.Run-time properties enable access to to version information. Propertiesenable: 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 versioninformation being read must follow the Microsoft guidelines - be warnedthat not all software complies.For detailed information about version information refer to the Win32SDK.A help file is provided that integrates with the help system of Delphi 3 to7. An a-link keyword file is provided for integration with Delphi 6 and 7.The source code for two demo projects is included. |