It would be useful to have a support function to get version information strings (Comments, CompanyName, FileDescription, FileVersion, etc.) from a version resource in an executable.
This can be useful in cases where (e.g.) the FileVersion (or ProductVersion) string is different (and more authoritative) than the file version (or product version) in the file's VS_FIXEDFILEINFO structure. For example: python.exe 3.14.6 has a VS_FIXEDFILEINFO structure that says the file is version 3.14.6150.1013, but the FileVersion string is "3.14.6" (which is actually what we want).