(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
Property TSSTDllVerInfo.ResourceOriginalFilename
Specifies the string assigned to the standardized, predefined, OriginalFilename, 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 ResourceOriginalFilename : STRING READ RetResourceOriginalFilename;
This property is an ANSI representation of the of the Unicode, resource string assigned to the predefined OriginalFilename, resource string-name.
This property is a read-only property.
Read this property to obtain the original name, without the path components, of the file specified in DllFileName. This is the name given to the file when it was created or by which it was known up to its installation.
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, RetResourceOriginalFilename, 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: