Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Feb : Launching .CHM file instead of .HLP?

www.cryer.info
Managed Newsgroup Archive

Launching .CHM file instead of .HLP?

Subject:Launching .CHM file instead of .HLP?
Posted by:"Jeff" (jeff23..@verizon.net)
Date:Mon, 12 Feb 2007 21:35:23

I have a D2006 app that has never used Delphi itself to invoke help, and it
worked just fine using the WinHelp API call.  The app now needs to use CHM
files instead of HLP, so I'm wondering what is the easiest way of invoking a
CHM?

Is there a simple Windows API call that can do this for CHM files as easily
as the WinHelp call worked for HLP files?

Yes, I'm aware of the Delphi way of going about this (include
HTMLHelpViewer, set Application.Helpfile and then call
Application.HelpCommand), but is this really the simplest solution?

Again, it used to only take one measly line of code to get the Windows API
itself to invoke a .HLP file....is there a simple API call that would work
for CHM files, or is including HTMLHelpViewer the only reasonable solution?

Thanks,

J.

Replies:

www.cryer.info
Managed Newsgroup Archive