Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delphi 7 Help File

18 views
Skip to first unread message

Jim Sawyer

unread,
Jul 30, 2008, 12:36:40 PM7/30/08
to
Is it possible to use a .CHM help file for Delphi 7? If so, how?

Jim Sawyer
DataWare


Joe Griffin

unread,
Jul 30, 2008, 4:05:45 PM7/30/08
to
Jim Sawyer wrote:

> Is it possible to use a .CHM help file for Delphi 7? If so, how?

It is.

You can get the HTMHlp.pas and HTMLHlp.inc filers from Project Jedi,
then use it as follows (from a production application of mine) ...

uses ... HTMLHlp, ...

procedure Tfrm_UserQuery.BtnHelpClick(Sender: TObject);
begin
inherited;
if HtmlHlp.HtmlHelpLoaded then
HtmlHlp.HtmlHelp(Application.Handle,
PChar('UsersGuide.chm'),
HH_DISPLAY_TOC, 0);
end;

Hope that helps <G>

... Joe
Member of the UK Developers Group

Jim Sawyer

unread,
Jul 30, 2008, 6:03:33 PM7/30/08
to
Thanks, Joe, for the cogent and informative answer.

Jim

0 new messages