Delphi 6 doesn't recognise .CHM files

From: Robert J Baker (korax1214_at_mailandnews.co.uk)
Date: 05/22/04

  • Next message: Robert Baker: "Delphi 6 doesn't recognise .CHM files"
    Date: 22 May 2004 12:27:56 -0700
    
    

    It would seem that Delphi 6 (PE) is hard-coded such that the only
    files it recognises as Windows Help are the old-style (*.hlp, compiled
    from RTF source) files; it doesn't consult the system to check what
    /it/ regards as Help (despite the D6 helpfile says something about
    being able to support multiple help systems), nor does it recognise a
    *.chm (Compiled Hypertext Markup, compiled (as the name suggests) from
    HTML source) when one is set in the Project Options as the
    application's help file; despite the fact that *.chm has been the
    official Windows Help format since at least WinME (a year *before*
    D6), and can even be installed on Windows 95 (as in my case).

    This is annoying as HTML (being as it is *designed* to be edited at
    source-code level, unlike RTF) is much easier to work with than RTF,
    plus the HTML Help Compiler has a lot less "red tape" than the old
    Help Compiler.

    The only workaround I've found so far is as follows:

      WinExec(PChar('start MyHelpFile.chm'),SW_SHOW);

    (this of course assumes that Windows knows what to do with .chm
    files); is there another way?


  • Next message: Robert Baker: "Delphi 6 doesn't recognise .CHM files"

    Relevant Pages

    • Delphi 6 doesnt recognise .CHM files
      ... it recognises as Windows Help are the old-style (*.hlp, ... official Windows Help format since at least WinME, ... source-code level, unlike RTF) is much easier to work with than RTF, ... plus the HTML Help Compiler has a lot less "red tape" than the old Help ...
      (comp.lang.pascal.delphi.misc)
    • Re: Help on Help file
      ... A winhelp source file is a rich text format file created in ... Word/WordPad and compiled with the help compiler. ... the rtf file and compiliation for you and thus make it easier to create ...
      (borland.public.delphi.thirdpartytools.general)
    • Re: Help on Help file
      ... I assume that you are building a WinHelp help file from the messages you are ... Word/WordPad and compiled with the help compiler. ... the rtf file and compiliation for you and thus make it easier to create help ... The topic header is in a no scrolling section and the body follows this. ...
      (borland.public.delphi.thirdpartytools.general)
    • Re: LOOP is awesome
      ... >> Ok, this is an alternative, but it seems as if this involves consing, ... >> if the compiler does not recognises that the list is not neccessary. ... Any sufficiently complicated C or Fortran program ...
      (comp.lang.lisp)
    • Re: LOOP is awesome
      ... Julian Stecklina writes: ... > Ok, this is an alternative, but it seems as if this involves consing, ... > if the compiler does not recognises that the list is not neccessary. ...
      (comp.lang.lisp)