change html help files to windows help files
-
our user asks us to develop a program which can dynamically change html help files to windows help files (*.hlp). html help files are in fixed format (similar to java help document). once he thinks a html page useful, he uses our program to input (open) the page, then output a *.hlp file which can be viewed as normal windows help file with contents, index and find. we prepare to use raw method: read the html page buffer then format it to *.hlp directly by c++. but it needs a lot of things to do - we even don't know the format of a *.hlp file. is there an easier way than our plan? thx. includeh10
-
our user asks us to develop a program which can dynamically change html help files to windows help files (*.hlp). html help files are in fixed format (similar to java help document). once he thinks a html page useful, he uses our program to input (open) the page, then output a *.hlp file which can be viewed as normal windows help file with contents, index and find. we prepare to use raw method: read the html page buffer then format it to *.hlp directly by c++. but it needs a lot of things to do - we even don't know the format of a *.hlp file. is there an easier way than our plan? thx. includeh10
As your working with small html files it could be you could generate a small .hpj project and get help workshop to build it for you (see MSVC->Tools->Help workshop). There may be some issues in using the MS tool to do this. Roger Allen Sonork 100.10016 WHats brown and sticky? A stick or some smelly stuff!
-
our user asks us to develop a program which can dynamically change html help files to windows help files (*.hlp). html help files are in fixed format (similar to java help document). once he thinks a html page useful, he uses our program to input (open) the page, then output a *.hlp file which can be viewed as normal windows help file with contents, index and find. we prepare to use raw method: read the html page buffer then format it to *.hlp directly by c++. but it needs a lot of things to do - we even don't know the format of a *.hlp file. is there an easier way than our plan? thx. includeh10
If you would be happy with the new help format (*.CHM), then as Roger Allen said you can "simply" create a HPJ file describing all the html / pic files you want to crunch together using the help compiler that came with VC++. If you really want the old style help (*.HLP) then I would recommeng going via rich text format. This is well documented (though don't ask me, I used Word 2.0 to save as RTF!) and may be easier for you to generate. You would still need to generate a contents file etc, so the CHM route should be easier. I presume you aren't making a help file from each individual html file... Good luck, Iain.