11th Chapter Application of-delphi Application (i) (3)

Source: Internet
Author: User

11.1.2.4 Compile Help Engineering files

There are two types of compilers that can compile Help engineering files: HCP.EXE, H31. Exe. The files compiled by both compilers cannot be used in Winddow3.0, but can be used in Windows 3.1. Where HCP.EXE is the protection mode "compiler", it can better use memory. You must use HCP.EXE in the Windows DOS window.

There are two questions to note before compiling:

1. All source files must be saved in RTF format;

2. The following files must be in the same directory

All of them. RTF File

Help Compiler (HCP. Exe,hc31. EXE)

Compiler Error Information source file (HCD. Err,hc1. ERR)

Help Engineering files (. HPF)

Any file referencing a bitmap or shed (. Bmp. SHG)

If the above file is not in the same directory, you must define the appropriate path in the project file.

Compilation to be done in a DOS environment, command format:

Help_compiler_rootname Project_file_rootname

Help_compiler_rootname is a compiler name without an extension. Project_file_rootname is not

Help project filename with extension, such as:

HCP Myhelp

11.2 Delphi application's help programming

Delphi applications can easily apply the Help system. Programs can run the Help system dynamically. dialog boxes can be associated with the Help system.

11.2.1 define the application's Help file

To use the Help system in your application, you must have the appropriate help file. Programs can write their own Help files, or you can use the existing Help files. In addition, you want to define a help file for your application so that the application can open the appropriate help file when the user needs help.

Choose options in the Delphi Integrated development environment | Project menu item, the system ejects the Project selection dialog box, and then select the Application Options page and enter the Help file name in the secondary.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.