This topic discusses how to include the required HTML Help files in your application.
To include the required HTML Help files in your application:
Include Htmlhelp.lib in your project:
In Visual C++, on the Project menu, click Settings... .
In the Project Settings dialog box, click the Link tab, then select the Input category.
Under the Additional library path, specify the directory ___location of the Htmlhelp.lib file on your computer.
Include Htmlhelp.h in your project:
On the Project menu, click Settings... .
In the Project Settings dialog box, click the C/C++ tab, then select the Preprocessor category.
Under Additionalinclude directories, specify the directory ___location of the Htmlhelp.h file on your computer.
In the Project Settings dialog box (Project menu), specify Htmlhelp.lib as the Object/libraries module in the Link tab, General category.
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.