New
#61
kimio kanda: Thanks very much: it worked perfectly.
Here is a procedure that works, the zip file containing:
Readme.txt
RoboEX32.dll
Win10-Hlp32-Fix.cmd
winhlp32.exe (From Windows XP SP2 X64)
https://1drv.ms/u/s!Av3SVuwIy2Q8avD-Qv65CdgQ4Zo
I got lucky and found an easy fix with my first Google search. Here are the instructions I found:
Here is a solution (thanks to Komeil Bahmanpour):
Go to his site:
Windows Help Program (WinHlp32.exe) for Windows 8.1 and Windows 7 x64 and x86 - Komeil Bahmanpour
Download winhlp32-windows-7-x86-x64-komeil.cab:
winhlp32 windows 7 x86 x64 komeil.cab - Komeil Bahmanpour Download Center
I needed a solution in order to get help working for Delphi Studio Architect on Windows 10.
Komeil's install.cmd file didn't work as is (its pre Win10) so I simply modified it.
Unpack the download (Install.cmd, winhlp32.exe, winhlp32.exe.mui) to a new directory. Edit the install.cmd and add the following two lines to the 'settings' section:
set WindowsVersion=7
goto :BypassVersionError
(yes, 'WindowsVersion=7' is correct.) Save the file and execute as administrator.
All should go without error. Delphi help, and every other help file I've tried, now works exactly as it should!
I got a little confused (inexperience) so to make it easy for others, this is what I did (maybe more than necessary):
I downloaded the file (winhlp32-windows-7-x86-x64-komeil.cab) from the website and placed it in a new folder that I called WinHlp32.
Inside that folder, I made another new folder called WinHlp32Extract.
I clicked on the .cab file, which then displayed 3 files.
I clicked on each of the 3 files (one at a time), selected "Extract", and extracted them to my WinHlp32Extract folder.
I edited the extracted Install.cmd file with Notepad as described above, adding the two lines after the existing Set statements in the Settings section at the top.
@echo off
:: ---------------------------------------------------------------------------
:: Settings
set MuiFileName=winhlp32.exe.mui
set ExeFileName=winhlp32.exe
set WindowsVersion=7
goto :BypassVersionError
Saved the file.
Right clicked on it (Install.cmd), selected Run As Administrator, and it worked the first time, well... the first time after I did it correctly as I just described
This works perfect for me. Why the hell MS wants me not to open Help Files i used for 15 years wo problems?
While it is indeed possible under Windows 10 to use an older winhlp32.exe to read .hlp files, there are security vulnerabilities in doing so.
http://www.zdnet.com/article/microso...-of-hlp-files/Microsoft has listed .HLP files as unsafe file types as discussed in (this KB article) and recommends customers exercise the same cautions with .HLP as .EXE, as both file types are executable. As a best practice, users should always exercise extreme caution when opening unsolicited attachments from both known and unknown sources.
Converting to PDF is one option, but reading a PDF is not quite the same as having a fully functional Help file. Conversion to a help file format that Windows 10 supports would be the ideal.
The replacement format for help files is the compiled HTMLHelp format (CHM). The look and use of a .chm help file is almost identical to that of the older .hlp files. In fact, the project files (table of contents, images, text etc.) used to compile a .hlp file can easily be converted to a .chm project. From there it's an easy step to recompile the project in .chm format. Microsoft of course don't release the project files for their Help files, but these can be recreated by decompiling the .hlp file. A step-by-step guide including links to the (free) software required is here:
http://www.help-info.de/en/Help_Info...converting.htm