(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
Property TSSTDllVerInfo.ResourceVersionInfoBuf
Specifies the base address of the buffer into which to copy the version information retrieved from the file specified in DllFileName.
Protected (i.e. the property can only be accessed from code in a descendant class or the unit it which it is implemented).
Property ResourceVersionInfoBuf : POINTER READ RetResourceVersionInfoBuf;
This property specifies the base address of the buffer on the heap, intended to hold a copy of the raw, version information, resource data.
This property is a read-only property.
Use/read this property to allocate or obtain a pointer to the buffer for the version information without copying the data to the buffer.
The buffer allocated by the default read access specifier, method RetResourceVersionInfoBuf, is not resized or freed, even if another file name is assigned to property DllFileName. In other words, once a buffer has been allocated, it (but, not necessarily its contents) will continue to exist unchanged, until the respective TSSTDllVerInfo instance is freed/destroyed. It is therefore, currently (December 2015), not possible to safely retrieve the version information from more than one file, using a single TSSTDllVerInfo instance.
In order to change this behaviour it is necessary to make several modifications to the class's code.
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
Unicode Implemented as ANSI version only.
See Also
TSSTDllVerInfo, DllFileName, RetResourceVersionInfoBuf, fresourceinfobuffer, ResourceVersionInfo, LastError, 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: