View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003753 | Far Manager | Viewer | public | 2019-11-27 13:21 | 2019-11-28 18:53 |
Reporter | r2y | Assigned To | DrKnS | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | x86 | OS | Windows | OS Version | 10 |
Product Version | 3.0 | ||||
Summary | 0003753: Перестал раблотать плагин hyperview | ||||
Description | Sorry, but HyperView required Far 1.63 or above! для 3.0.0.5511 x86 | ||||
Steps To Reproduce | FAR 3.0 build 5354 x86 работает нормально HyperView v1.1 r7 После обновления FAR нет. | ||||
Tags | No tags attached. | ||||
Build | 0 | ||||
|
Плагин не работает, т.к. он лезет в 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. Вот вам патч:
Что эквивалентно замене\StringFileInfo\000004E4\FileVersion на \StringFileInfo\000004B0\FileVersion и \StringFileInfo\040904E4\FileVersion на \StringFileInfo\040904B0\FileVersion |