Link to home
Start Free TrialLog in
Avatar of m3
m3

asked on

making help topics

I made an application on VC++4.0. I understand that to customize the help topics I have to edit the .RTF files and change them, but each time I am changing those files the MakeHelp doesn't generate any .hlp file. For simple changes, like changing <<YourApp>>, the .hlp file can be generated but I don't see those changes on the help window. I think the problem is either my version of VC++ or the fact that I am editing the .RTF files using word.

Any suggestions,
m3
Avatar of kinkajou
kinkajou

So, when you run the hcw.exe with a valid .HPJ file and a changed .RTF, the resultant .HLP file does not show your changes?

Is Word keeping the help links in tack when you change your RTF file?

Also, which version of Word are you using? RTF formatting has changed some recently and it could be that you are using a version of Word and RTF that is incompatible with VC++ 4.0.
A lot of the time I take and existing .RTF and edit it using a text editor. I hate the way Word chops and mangles the formatting. But the down side is having to understand the RTF their tagging sceme.

Let's all say "Thank you Microsoft" for making everything so damn cryptic and verbose!
Avatar of m3

ASKER

I noticed that each time I am saving with Wordt, the help can not read the file any more. Is there any alternative editor?

m3.
Avatar of m3

ASKER

I switched to VC++5. with Office 97, but it still the same problem.

I've tried using the different version of Word with Office 95 and 97 to no avail. It should work but...

Any text editor will do, even Word (save as .txt and edit in text mode for word). I often use CodeWrite (almost always), the MSVC editor or NotePad. Are you familiar with RTF tagging?
Avatar of m3

ASKER

The log file says:
HC4010: Warning:
      There are more opening braces than closing braces.
    HC4013: Warning:
      Invalid default font number in \\afxcore.rtf. Using Times New Roman as the default font.
    HC4002: Warning:
      The RTF file \\afxcore.rtf is corrupted at offset 353.

Yes, that is the familiar error message.
Do you have a version of the RTF that works? And you just want to make changes? Yes?
ASKER CERTIFIED SOLUTION
Avatar of kinkajou
kinkajou

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW, the "HID_ADVANCED" is visible within Word as a footnote (go to view->footnotes) or by leaving the mouse cursor over the footnote marker at the beginning of the text line.


Avatar of m3

ASKER

I want both, change the available once and make a new file.
If you want to make a new RTF file, I would suggest using WordPad and saving a template RTF file. Take the template and edit using the font tags defined from the top of the RTF file and use the ID's form your resource files for your project.

WARNING: This process is not for meek. You will have to spend some time looking at the documentation I gave in my answer to know how to build these files. This can be a very tedious process.
Avatar of m3

ASKER

I just saved the file on WordPad, the font warning doesn't appear but I still have one more warning:
HC4002: Warning:
      The RTF file C:\stef\Muni\muni\hlp\.\afxcore.rtf is corrupted at offset 34308.
And when I click on the topic I get a white page.
Microsoft provide some information about the RTF format but the put it in 165 pages that I can not read in few hours.
Any suggestion is welcome.
m3