Bugs in `UVersionInfo` unit
delphidabbler opened this issue · 2 comments
delphidabbler commented
The TVersionInfo.FileVersionNumberStr and TVersionInfo.ProductVersionNumberStr methods both access the wrong version information. They access the file version and product version fixed file info fields, which automatically cast to string, instead of the string information items they are intended to access.
delphidabbler commented
In addition there's much use of the with statement in the unit. These really need to go!
delphidabbler commented
Just checked this again and, in fact, the methods are correct.
Closing this issue as invalid.
However, the with statement really does need to be removed, so opening a new issue for that.