error message: HH_HELP_CONTEXT called without a MAP section
Word-2-CHM Converter
error message: HH_HELP_CONTEXT called without a MAP section
congoblue
02-04-2008, 8:29 AM
I am trying to create a help file from a word doc for an existing windows application which previously had a manually created help file.
Some points in the application have context-sensitive help, and the ID of the help to be called is already defined in the application and can't be changed.
If I edit the helpid.ini file, I can set the help ID's as required, but when the windows application calls the help file, I get the error "HH_HELP_CONTEXT called without a MAP section" and the help does not display. Help!
Re: error message: HH_HELP_CONTEXT called without a MAP section
Peter
02-04-2008, 6:38 PM
1. Close Word-2-CHM Pro before you modify the .helpid.ini file.
2. Reopen the .word2chm project file and then recreate the chm file.
You may create chm file with the option "Keep HTML Help Project" checked and then open the saved .hhp file to see if the change has taken effect.
Re: error message: HH_HELP_CONTEXT called without a MAP section
congoblue
02-05-2008, 1:29 AM
Thank you, that fixed the problem.
A further problem was that I had unticked the "Auto Help ID" box, because Word-2-CHM was overwriting my changes due to the fact that I had edited the file with Word-2-CHM running. The correct procedure for me was:
1-Tick Auto Help ID and create the CHM
2-Close Word-2-CHM
3-Edit the helpid.ini file
4-Restart Word-2-CHM and regenerate CHM
Could I suggest you modify the word-2-CHM help file to explain that you need to close Word-2-CHM before editing the helpid.ini file. It does not say this anywhere.
Re: error message: HH_HELP_CONTEXT called without a MAP section
Peter
02-05-2008, 5:38 AM
Thanks very much for you suggestion! We'll make the manual more friendly.
Re: error message: HH_HELP_CONTEXT called without a MAP section
Peter
05-30-2008, 5:27 AM
We've made some changes. Close Word-2-CHM is unnecessary now when editing the .helpid.ini file.