Article View: borland.public.delphi.language.objectpascal
Article #66Re: Delphi and Chm Help Files
From: Peter Below (TeamB)
Date: Sun, 25 Jan 2004 17:57
Date: Sun, 25 Jan 2004 17:57
53 lines
2937 bytes
2937 bytes
In article <4013e30e@newsgroups.borland.com>, Yehia Ahmed wrote:
> i made a .chm file for my application,
> i know that delphi doesn't support the chm help file type,
> so i launched the help file using shellexecute:
> ShellExecute(
> Application.Handle,
> 'open',
> 'c:\test.chm',
> nil,
> nil,
> 0);
> Somehow, this didn't work either, any ideas?
That is the wrong approach but it should have shown the helpfile if you
have the HTML Help Workshop installed.
Anyway, there is an API function named HtmlHelp available (if HTML help
supports is installed on the target system, the function is exported
from Hhctrl.ocx, not from one of the standard system DLLs).
Function HtmlHelp( hwndCaller: HWND;
pszFile: PChar;
uCommand: Cardinal;
dwData: Pointer ): HWND; stdcall;
external 'Hhctrl.ocx' name 'HtmlHelpA';
A full translation of the htmlhelp.h SDK header file can be found on
the JEDI site Robert pointed you to. But there are also Delphi add-ins
that make HTML help available directly. Here are a couple of URLs:
HTML Help as a context sensitive engine.
http://www.hyperact.com/DelphiStuff.html
http://www.informant.com/libs/delphi/3x/di9805rl.zip
http://www.igweb.pair.com HTML HELP Pack
http://www.helpware.net
http://www.ec-software.com/comppage.htm
Header translation at http://delphi-jedi.org
for D6/D7 specifically:
http://www.torry.net/vcl/vcltools/help/sphtmlhelp.zip
http://www.jgsoft.com/zips/UseHTMLHelp.zip
http://www.martinstoeckli.ch/delphi/delphi.html#VclHtmlHelp
--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
Technical Details
Message-ID:
<VA.0000a8fb.001781fd@nomail.please>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4013e30e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,dbd8467c22ed42f8 X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2004-01-25 10:09:41 PST Date: Sun, 25 Jan 2004 18:57:55 +0100 Newsgroups: borland.public.delphi.language.objectpascal Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va Organization: TeamB Message-ID: <VA.0000a8fb.001781fd@nomail.please> Subject: Re: Delphi and Chm Help Files From: "Peter Below (TeamB)" <100113.1101@compuXXserve.com> Reply-To: 100113.1101@compuXXserve.com References: <4013e30e@newsgroups.borland.com> NNTP-Posting-Host: 62.226.187.140 X-Trace: newsgroups.borland.com 1075053363 62.226.187.140 (25 Jan 2004 09:56:03 -0700) Lines: 55 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail