HTML Help Help Failed While Compiling CHM

Trying to create CHM using Microsoft HTML Help. Soon, when I click "Compile", the section "HTML Help" indicates:

An internal error has occurred. The error record was saved in c: \ os.err.

The only contents of the file are:

((Today is the date and time))
Tutorial version of Microsoft HTML Help version 4.74.8702
HHA Version 4.74.8702
htmlproc.cpp (114): Approval error: (pszTmp == m_pCompiler-> m_pHtmlMem-> psz)

The error occurs only for a few selected large projects and comes from both the command line and the HTML Help GUI.

What causes this error and how can I fix my project to run through the compiler?

+4
source share
2 answers

The Microsoft HTML help compiler has some undefined path name size requirements.

Moving the project to a directory closer to the root drive (ie, "C: \ systemystem") and renaming the folders inside the project to a smaller name reduced the size of the path name sufficient to compile the project.

+3
source

I found that Workshop for Microsoft HTML Help is a little delicate for work. Do you have all the prerequisites? Try starting the hhc.exe compiler from the command line.

+1
source

Source: https://habr.com/ru/post/1277096/


All Articles