Pergunta

I have an old help file project, but the original project was lost in a hard drive crash. The original was created using HelpScribble, but now I've decompiled it into WinCHM. I have recreated the help file after decompiling the original compiled CHM file. However, to my knowledge, there is no way to identify the mappings to direct an application to certain Context ID's.

What I'm wondering is if there's a way to read the compiled CHM file and extract the Context ID of each topic in the help file? I would hate to have to iterate through individual numbers from 0 to 5,000 from what I've seen in the original software source. This is a large system, and has a corresponding large help file for every possible scenario in the software.

Foi útil?

Solução

You can use the chmls tool from the FreePascal project. Invoke it like this:

chmls extractalias MyHelpFile.chm

The output are files named MyHelpFile.ali and MyHelpFile.h containing the IDs and targets of your aliases.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top