View Issue Details

IDProjectCategoryView StatusLast Update
0003753Far ManagerViewerpublic2019-11-28 18:53
Reporterr2y Assigned ToDrKnS  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionno change required 
Platformx86OSWindowsOS Version10
Product Version3.0 
Summary0003753: Перестал раблотать плагин hyperview
DescriptionSorry, but HyperView required Far 1.63 or above!
для 3.0.0.5511 x86
Steps To ReproduceFAR 3.0 build 5354 x86 работает нормально HyperView v1.1 r7
После обновления FAR нет.
TagsNo tags attached.
Build0

Activities

DrKnS

2019-11-28 18:53

administrator   bugnote:0016654

Плагин не работает, т.к. он лезет в VersionInfo фара, пытается узнать версию и делает это неправильно.
[quote=https://docs.microsoft.com/en-us/windows/win32/api/winver/nf-winver-verqueryvaluew]
\VarFileInfo\Translation
The translation array in a Var variable information structure — the Value member of this structure. The function retrieves a pointer to this array of language and code page identifiers. An application can use these identifiers to access a language-specific StringTable structure (using the szKey member) in the version-information resource.[/quote]
Плагин не утруждает себя получением идентификаторов, а тупо передает те, которые его автор когда-то увидел в фар 1.63.
Вот вам патч:

0001681A: 45 42
0001681B: 34 30
00016842: 45 42
00016843: 34 30
Что эквивалентно замене
\StringFileInfo\000004E4\FileVersion на \StringFileInfo\000004B0\FileVersion и
\StringFileInfo\040904E4\FileVersion на \StringFileInfo\040904B0\FileVersion

Issue History

Date Modified Username Field Change
2019-11-27 13:21 r2y New Issue
2019-11-28 18:53 DrKnS Assigned To => DrKnS
2019-11-28 18:53 DrKnS Status new => closed
2019-11-28 18:53 DrKnS Resolution open => no change required
2019-11-28 18:53 DrKnS Build => 0
2019-11-28 18:53 DrKnS Note Added: 0016654