Solve chm crash under WIN7 to generate chw file problem

  
                  

Under Windows 7, after opening the chm file, if you switch to the "Index" tab, the program crashes.

Installing a machine with Visual Studio, you can debug it and see the call stack to the hhctrl.ocx control.

The following online solution to this problem, open the cmd window, run in the following order:

regsvr32 jscript.dll

regsvr32 hhctrl.ocx

regsvr32 itss.dll

regsvr32 itircl.dll //This is very important, it is about full-text search.

Note: Win7 comes with the chm viewer. After opening chm, it will automatically generate the chw file with the same name by default. If you don't want this file, I am afraid to use the third-party chm reader.

Copyright © Windows knowledge All Rights Reserved