2 Replies Latest reply on Nov 15, 2006 10:55 AM by johnmccallum

    .hhp file problem

    Nyul
      I have a problem with the .hhp file of my Help project.

      In the .hhp file the default topic, default window settings and the windows section is overwritten without any changes done actively in RoboHelp or in the file itself.
      The changes are bad because the .hhp file is used by Microsoft Help to build our help files. I cannot work out why the .hhp file is reset.

      The text below is part of the .hhp file. 1st example is from the smsdk_good_file.hhp and this is what the .hhp file should be. The 2nd example shows the changed text in red.

      Good file:
      [OPTIONS]
      Compiled File=smsdk.chm
      Title=SpeechMagic SDK Online Help
      Contents File=smsdk.hhc
      Index File=smsdk.hhk
      Default topic=Introduction\IDH_INTRO_SMSDK.htm
      Default Window=SpeechMagic SDK
      Error log file=
      Display compile progress=Yes
      Display compile notes=Yes
      Full-text search=Yes
      Binary Index=Yes
      Auto Index=No
      Enhanced decompilation=No
      Binary TOC=No
      Flat=No
      Language=0x0409 English (United States)

      [WINDOWS]
      SpeechMagic SDK="SpeechMagic SDK Online Help - 6.1, Build 509","smsdk.hhc","smsdk.hhk","","Introduction\IDH_INTRO_SMSDK.htm",,,"IDH_GLOSSARY_LINK_P AGE.htm","Glossary",0x21520,0,0x8386e,[0,0,800,600],0x0,0x0,,0,0,0

      Changed file
      [OPTIONS]
      Compiled File=smsdk.chm
      Title=SpeechMagic SDK Online Help
      Contents File=smsdk.hhc
      Index File=smsdk.hhk
      Default topic=
      Default Window=Glossary
      Error log file=
      Display compile progress=Yes
      Display compile notes=Yes
      Full-text search=Yes
      Binary Index=Yes
      Auto Index=No
      Enhanced decompilation=No
      Binary TOC=No
      Flat=No
      Language=0x0409 English (United States)

      [WINDOWS]
      Glossary="Glossary",,,"","",,,"","",0x0,0,0x0,[400,50,900,500],0x0,0x0,,0,0,0

        • 1. Re: .hhp file problem
          RoboColum(n) Level 5
          Hi Nyul. I've never known RH to change the .HHP file settings unless someone has done something inside the project. You say that you use MS Help to build your CHMs. Could this be changing the .HHP file? I assume there is a good reason why you aren't using RH to compile?
          • 2. Re: .hhp file problem
            Level 2
            Hi Nyul,

            I have had trouble with RoboHelp changing the .hhp file, too. I think it does this when the RoboHelp project file doesn't get updated for some reason. You may be able to fix this by moving (or deleting - but you might want a backup) the project file and opening your project from the good .hhp file. RoboHelp will then recreate the project file.

            John