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

Delphi and Chm Help Files

105 views
Skip to first unread message

Yehia Ahmed

unread,
Jan 25, 2004, 10:38:51 AM1/25/04
to
hello,

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?

Thanks In Advance
Yehia

Robert Marquardt

unread,
Jan 25, 2004, 11:43:02 AM1/25/04
to
Yehia Ahmed wrote:

> hello,
>
> i made a .chm file for my application,
> i know that delphi doesn't support the chm help file type,

See http://www.delphi-jedi.org/APILIBRARY

Peter Below (TeamB)

unread,
Jan 25, 2004, 12:57:55 PM1/25/04
to

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


Yehia Ahmed

unread,
Jan 25, 2004, 1:10:48 PM1/25/04
to
thanks,


"Peter Below (TeamB)" <10011...@compuXXserve.com> wrote in message
news:VA.0000a8f...@nomail.please...

Pete Lees

unread,
Jan 25, 2004, 3:21:38 PM1/25/04
to
Yehia,

> i made a .chm file for my application,
> i know that delphi doesn't support the chm help file type,

Have a look at:

http://helpware.net/delphi/index.html

--
Pete (Microsoft Help MVP)

0 new messages