(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
Property TSSTDllVerInfo.ResourceProductVersion
Specifies the string assigned to the standardized, predefined, ProductVersion, resource string-name in the version information resources of the executable specified by property DllFileName.
Public (i.e. this property can be referenced from any code, including that in other units, with access to the TSSTDllVerInfo object of interest).
Property ResourceProductVersion : STRING READ RetResourceProductVersion;
This property is an ANSI representation of the of the Unicode, resource string assigned to the predefined ProductVersion, resource string-name.
This property is a read-only property.
Read this property to obtain the version of the product specified in DllFileName in form of a text, rather than through the numerical version numbers exposed by the dwProductVersionLS and dwProductVersionMS members of the version information resource's VS_FIXEDFILEINFO record/structure.
The string is retrieved from the in-memory copy of the version information resources, (previously) extracted by RetResourceVersionInfo from the file specified by DllFileName.
The Unicode to ANSI conversion is performed by the invoked Winodws API function(s).
For an example on how to implement code that uses this property, please refer to TSSTDllVerInfo Class page or function/method TForm1.LogDllVersionInfo in the source code of the main window unit of the ShlWAPIFunctionInfo project.
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
Unicode Implemented as ANSI version only.
See Also
TSSTDllVerInfo, DllFileName, RetResourceProductVersion, ResourceFixedFileInfo, RetResourceFixedFileInfo, ResourceVersionInfo, LastError, Source Code.
Windows APIs: VERSIONINFO Resource, VerQueryValue, GetLastError.

Document/Contents version 1.00
Page/URI last updated on April 30, 2022
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017
Suggestions and comments mail to: