Delphi 6 doesn't recognise .CHM files
From: Robert J Baker (korax1214_at_mailandnews.co.uk)
Date: 05/22/04
- Previous message: Robert J Baker: "ShowMessage can have any title!"
- Next in thread: Martin Strand: "Re: Delphi 6 doesn't recognise .CHM files"
- Reply: Martin Strand: "Re: Delphi 6 doesn't recognise .CHM files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Previous message: Robert J Baker: "ShowMessage can have any title!"
- Next in thread: Martin Strand: "Re: Delphi 6 doesn't recognise .CHM files"
- Reply: Martin Strand: "Re: Delphi 6 doesn't recognise .CHM files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|