Including HTML Help Support Files in an Application

This topic discusses how to include the required HTML Help files in your application.

To include the required HTML Help files in your application:

  1. Include Htmlhelp.lib in your project:

    1. In Visual C++, on the Project menu, click Settings... .

    2. In the Project Settings dialog box, click the Link tab, then select the Input category.

    3. Under the Additional library path, specify the directory location of the Htmlhelp.lib file on your computer.

  2. Include Htmlhelp.h in your project:

    1. On the Project menu, click Settings... .

    2. In the Project Settings dialog box, click the C/C++ tab, then select the Preprocessor category.

    3. Under Additionalinclude directories, specify the directory location of the Htmlhelp.h file on your computer.

  3. In the Project Settings dialog box (Project menu), specify Htmlhelp.lib as the Object/libraries module in the Link tab, General category.

  4. In your project's Stdafx.h file, insert the following line:

    #include <htmlhelp.h>
    

Note When using AppWizard to create an MFC (.exe) project, you do not need to select Context-sensitive help check box in Step 4, unless you also plan to use WinHelp in the application.

Back to Help Topics (HTML Help)