Question

Create any application in Delphi XE2 and press F1 to run help system. You'll see the help article or the following window (for search string 'function'):

enter image description here

I have an application for Delphi XE2. When I open it and press F1 help system opens only the following window (for search string 'function'):

enter image description here

If you'll open the first project again (after the second) help system opens the same window as on the second project (incorrect).

I have tried to delete the following files: .dproj, .dof, .identcache, .otares - but with no success. How to fix this issue?

More info:

Context help doesn't work on IDE while you're using BPL with HtmlHelpViewer unit on uses clause. BPL is design-time and run-time both. Should I create 2 separate BPLs - the first for design-time with conditional directives and the second for using on the application? Is this a Delphi XE2 issue and should it be fixed by Embarcadero?

Was it helpful?

Solution 2

This Delphi XE2 issue is caused when any design-time BPL using HtmlHelpViewer unit. There are 2 solvations:

  1. Create 2 separate BPLs for design-time and for run-time.
  2. Replace HtmlHelpViewer unit by your own and call HtmlHelp API directly.

P.S. Thanks to David Heffernan for the second method. Embarcadero doesn't want to fix the issue on the IDE or the unit.

OTHER TIPS

Perhaps some of the answers to a related help issue that I asked about help earlier this year would be helpful in solving your problem: How to fix broken context sensitive help in IDE of Delphi 2010

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top