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
> hello,
>
> i made a .chm file for my application,
> i know that delphi doesn't support the chm help file type,
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
"Peter Below (TeamB)" <10011...@compuXXserve.com> wrote in message
news:VA.0000a8f...@nomail.please...
> 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)