4 Replies Latest reply on Dec 13, 2006 8:57 AM by johndaigle

    Error when clicking topic in merged project

      I want to say thanks for all the help I have received here. I am learning RoboHelp x5 as I go and your assistance has been wonderful.

      Now for the question...I have a project that I have broken down into several modules. When I click on a topic it gives the following dialog:

      "The window name "default" passed to HH_GETWIN_TYPE has not been specified."

      I can click OK in the dialog and then the topic will display correctly. Does anyone know what causes this or better yet how I can correct it?

      I am compiling in MS HTML Help.

        • 1. Re: Error when clicking topic in merged project
          ---Dirk_Bock Level 1
          This still sounds like a problem with the window name(s). What is the [WINDOWS] sections in the projects' HHP look like?


          ---Dirk Bock
          • 2. Re: Error when clicking topic in merged project
            ncfirst Level 1
            Thanks Dirk!

            I had the window names set correctly, but one of the projects was compiled with the default window! I re-compiled and everything worked great.

            I'm sure I'll have more questions as I get further into this, but thanks for all the help thus far.

            • 3. Re: Error when clicking topic in merged project
              Matthew Ellison Level 1
              Possibly not relevant to your current issue Aaron but...

              as a matter of fact, there are occasionally situations when a message of the form "”The window name “xxxxxx” passed to HH_GET_WIN_TYPE has not been specified" appears even when you have set all your window definitions correctly. This happens when you use the "Related Topics" command to call a topic in an external CHM and you specify a secondary window name. Strangely, the message only appears if you have MS HTML Help Workshop installed on your computer, so it is probably not an issue for the average user. I believe it is an HTML Help bug.

              Best regards,
              • 4. Error when clicking topic in merged project
                johndaigle Level 4
                Matthew and Dirk are certainly pointing in the right direction. Microsoft never got around to squashing all the bugs in MS HTML Help. If you are working with secondary windows I highly recommend prefixing all window type names with "$GLOBAL_". I always do that as standard practice as it was recommended by Microsoft's lead developer of the .chm format, Ralph Walden. You can easily do this in RoboHelp's Window Properties dialog. So if your window name is "Secondary_Window" you would rename it "$GLOBAL_Secondary_Window". I put the prefix on all window names for good measure.

                For more info, try Rob Chandler's site http://www.helpware.net/htmlhelp/how_to_merge.htm
                Click on the link "Secondary Windows" for the good parts.

                One final thing, you probably already have, but be sure to download the latest service release so that your version should read X5.0.2. Updates are here: http://www.adobe.com/support/robohelp/downloads.html
                Hope this helps.