(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
TSSTDllVerInfo.Create Constructor
Instantiates and initializes a TSSTDllVerInfo object.
Global, public (i.e. this consturctor can be called/accessed from code in any unit that includes/uses (SST)ShlWAPI.pas).
Constructor Create(adllfilename : STRING); OVERLOAD;  
adllfilename [in] The name, in form of an ANSI string, of the executable file containing the version information to retrieve.
Return Values
If the function succeeds it returns the newly created object. If an error occurs during its execution, an exception is raised/thrown and the return value is undefined/invalid.
TSSTDllVerInfo as implemented in ... does not allow setting the name of the executable file from which to retrieve the version information after construction. It is therefore not possible to create an object of this class by calling the constructor inherited from TObject and setting the file name at later point in time, without making changes to the class's source code.
This overloaded version of Create merely invokes the inherited constructor of the same name and copies the string received in parameter adllfilename into member variable fdllfilename.
Sample code
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
Unicode Implemented as ANSI version only.
See Also
TSSTDllVerInfo, DllFileName, fdllfilename
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: