(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
Property TSSTDllVerInfo.DllFileName
Specifies the file name of the executable from which to retrieve the version information.
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 DllFileName : String READ fdllfilename;
A string consisting of a fully qualified or relative path, a file name and extension.
This property is a read-only property.
Although the Windows API functions called by the class's methods search for the file if only the name is specified, we want to know exactly which file the version information is going to be retrieved from. As this isn't possible without knowing where the file is located, this property should always include a fully qualified path or failing that, at least, a relative path, to the file name and extension.
The property is assigned its contents (i.e. the value-string containing the full path and name of the file) in the overloaded constructor Create. It should not be modified/altered after the class's RetResourceVersionInfoBuf method has allocated a buffer for that file's version information resources, unless the class's functionality is adapted accordingly. Therefore, it is not possible to convert DllFileName into a read and write property merely by appending " WRITE fdllfilename" to the property declaration.
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
Unicode Implemented as ANSI version only.
See Also
TSSTDllVerInfo, fdllfilename, Create, RetResourceVersionInfoBuf, ResourceVersionInfoBuf, Source Code.
Windows APIs: GetLastError, SetLastError

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: