几个项目无法在Delphi XE2中使用HelpSystem [英] HelpSystem doesn't work in Delphi XE2 with a few projects

查看:87
本文介绍了几个项目无法在Delphi XE2中使用HelpSystem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Delphi XE2中创建任何应用程序,然后按F1键运行帮助系统.您将看到帮助文章或以下窗口(用于搜索字符串"function"):

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'):

我有一个Delphi XE2的应用程序.当我打开它并按F1时,帮助系统仅打开以下窗口(用于搜索字符串功能"):

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'):

如果您要再次打开第一个项目(在第二个项目之后),帮助系统将打开与第二个项目相同的窗口(不正确).

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

我尝试删除以下文件:.dproj,.dof,.identcache,.otares-但未成功.如何解决此问题?

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

更多信息:

上下文帮助在IDE上不起作用. BPL是设计时和运行时两者.我是否应该创建2个单独的BPL-第一个是在设计时使用条件指令,第二个是在应用程序上使用?这是Delphi XE2的问题,应该由Embarcadero修复吗?

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?

推荐答案

任何使用HtmlHelpViewer单元的设计时BPL都会引起此Delphi XE2问题.有2种溶剂化物:

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

  1. 为设计时和运行时创建2个单独的BPL.
  2. 自行替换HtmlHelpViewer单元,然后直接调用HtmlHelp API.
  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.感谢 David Heffernan 作为第二种方法. Embarcadero不想在IDE或设备上解决该问题.

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

这篇关于几个项目无法在Delphi XE2中使用HelpSystem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆