delphi 4.0 how to call the help made by htmlhelp

Posted on 2000-04-08
Last Modified: 2010-04-04
i use htmlhelp made a help of my delphi
application,but now i don't know how to
call the help made by htmlhelp.
i use api function winexec ,but no effectively,for example
can you tell me how can i do?
Question by:qzlmq
  • 2
  • 2

Expert Comment

ID: 2697370
use ShellExecute instead of WinExec

ShellExecute(handle, 'open', PChar('c:\quzi\quzi.chm'), nil, nil, sw_Normal);

Don't forget to include ShellApi in uses clause,
I hope it helps you.

LVL 17

Accepted Solution

inthe earned 50 total points
ID: 2697766

you should integrae the help with your app and execute the help file by calling HH() api with  HH_Display_Topic flag ,either from a keypress(traditionaly F1) or a button click etc..

see this example from delphi magazine: 

some random html help links that may be of use: 


Expert Comment

ID: 2699316
That is a good example Barry,
But the question is:
How to make chm files? which tools I need (I have FrontPage Express) is it enough or I must have the profissional version?


Expert Comment

ID: 2702405
motaz - good question!
LVL 17

Expert Comment

ID: 2705566
hi guys,
guess you dont know about microsoft html help workshop then ;o)

and Motaz you can use anythuiing tat creates html files .. notepad for instance ..just use the help compiler to compress and compile html files to chm format.
there are several other tools for this also but this is the way i use.
Regards Barry


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to fill array with TArray.Create? 14 77
indy Tmemory stream non latin charcter issue 2 97
Delphi 2 45
Not able to call Delphi XE10 dll function from Delphi 6.0 4 16
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now