Bill Starr
2003-10-31 16:21:08 UTC
I am having trouble with a "hhc.exe" command-line Html Help Compiler
error when I compile to/from a network drive, but not when I copy the
same files to a local hard disk and compile there. Has anyone else
encountered anything like this?
Any suggestions for fixing the problem?
I am compiling about 25 CHM files, all structured very similarly. The
other 24 all compile without errors on the network drive. I would like
to be able to compile them all in that environment.
There is ample free disk space on the network drive. Deleting and
recreating the directory tree in which I do the compile does not help.
Following are the highlights of the error messages I am receiving from
the compiler.
I have duplicated the problem on both a Windows NT and a Windows XP
PC.
The compiler displays all of the component HTML & GIF files as it
processes them, and the error pops up just after the final file is
displayed in the Command Prompt.
Virtually the same error occurs using Html Help Workshop (hhw.exe) to
compile instead of "hhc.exe".
The other perplexing issue is that the failed compile attempt leaves
an invalid ".chm" file. The correct file size when I compile without
errors on the hard disk is 3.92MB. The CHM from the failed compile is
3.72MB. The CHM from the failed compile sometimes does not open at
all, giving the error:
Help: Cannot open the file:
mk:@MSITStore:O:\chm_FIS\3666288\FIS3666288.chm
I found a MS KB article about this message:
http://support.microsoft.com/?kbid=312456
It recommends confirming that I have the current version of
"hhctrl.ocx" and confirming it is registered.
My "hhctrl.ocx" is 20 Dec 2002, 3:38pm, 5.2.3735.0. It appears to have
been part of Critical Update Q811630.
I also successfully [re]registered this file as indicated (with paths
modified as needed for XP), and this did not have any effect on the
error.
Other times, it opens, but with only a "page cannot be displayed"
error.
Whether the compile succeeds or fails, ERRORLEVEL seems to get set to
zero when "hhc.exe" runs. Does anyone know a reliable means of testing
for successful completion of "hhc.exe" from a script? Presently, I
don't think the script which invokes "hhc" will even continue until I
manually dismiss the popup error message, so having a means to detect
the problem may be somewhat of a moot point.
If this inquiry might be better posted in some other newsgroup (e.g.,
"comp.os.ms-windows.programmer.winhelp", "microsoft.public.htmlhelp"),
please let me know. I don't remember where to find the scope / charter
of all of the different groups.
Thanks, Bill
Fri, 31 Oct 2003, 11:21am EST
*****
Microsoft HTML Help Compiler has encountered a problem and needs to
close. We are sorry for the inconvenience.
For more information about this error, click here.
Error signature
AppName: hhc.exe
AppVer: 4.74.8702.0
ModName: hha.dll
ModVer: 4.74.8702.0
Offset: 000217d8
To view technical information about the error report, click here.
Error Report Contents
The following information about your process will be reported:
Exception Information
Code: 0xc0000005
Flags: 0x00000000
Record: 0x00000000
Address: 0x453217d8
hhc.exe - Application Error
The instruction at "0x453217d8" referenced memory at "0x096be000". The
memory could not be "read". Click on OK to terminate the program.
error when I compile to/from a network drive, but not when I copy the
same files to a local hard disk and compile there. Has anyone else
encountered anything like this?
Any suggestions for fixing the problem?
I am compiling about 25 CHM files, all structured very similarly. The
other 24 all compile without errors on the network drive. I would like
to be able to compile them all in that environment.
There is ample free disk space on the network drive. Deleting and
recreating the directory tree in which I do the compile does not help.
Following are the highlights of the error messages I am receiving from
the compiler.
I have duplicated the problem on both a Windows NT and a Windows XP
PC.
The compiler displays all of the component HTML & GIF files as it
processes them, and the error pops up just after the final file is
displayed in the Command Prompt.
Virtually the same error occurs using Html Help Workshop (hhw.exe) to
compile instead of "hhc.exe".
The other perplexing issue is that the failed compile attempt leaves
an invalid ".chm" file. The correct file size when I compile without
errors on the hard disk is 3.92MB. The CHM from the failed compile is
3.72MB. The CHM from the failed compile sometimes does not open at
all, giving the error:
Help: Cannot open the file:
mk:@MSITStore:O:\chm_FIS\3666288\FIS3666288.chm
I found a MS KB article about this message:
http://support.microsoft.com/?kbid=312456
It recommends confirming that I have the current version of
"hhctrl.ocx" and confirming it is registered.
My "hhctrl.ocx" is 20 Dec 2002, 3:38pm, 5.2.3735.0. It appears to have
been part of Critical Update Q811630.
I also successfully [re]registered this file as indicated (with paths
modified as needed for XP), and this did not have any effect on the
error.
Other times, it opens, but with only a "page cannot be displayed"
error.
Whether the compile succeeds or fails, ERRORLEVEL seems to get set to
zero when "hhc.exe" runs. Does anyone know a reliable means of testing
for successful completion of "hhc.exe" from a script? Presently, I
don't think the script which invokes "hhc" will even continue until I
manually dismiss the popup error message, so having a means to detect
the problem may be somewhat of a moot point.
If this inquiry might be better posted in some other newsgroup (e.g.,
"comp.os.ms-windows.programmer.winhelp", "microsoft.public.htmlhelp"),
please let me know. I don't remember where to find the scope / charter
of all of the different groups.
Thanks, Bill
Fri, 31 Oct 2003, 11:21am EST
*****
Microsoft HTML Help Compiler has encountered a problem and needs to
close. We are sorry for the inconvenience.
For more information about this error, click here.
Error signature
AppName: hhc.exe
AppVer: 4.74.8702.0
ModName: hha.dll
ModVer: 4.74.8702.0
Offset: 000217d8
To view technical information about the error report, click here.
Error Report Contents
The following information about your process will be reported:
Exception Information
Code: 0xc0000005
Flags: 0x00000000
Record: 0x00000000
Address: 0x453217d8
hhc.exe - Application Error
The instruction at "0x453217d8" referenced memory at "0x096be000". The
memory could not be "read". Click on OK to terminate the program.