开发者

Delphi context help says "Cannot find the C:Program FilesBorlandDelphi7Helpd7.hlp file"

开发者 https://www.devze.com 2023-02-11 11:52 出处:网络
My Delphi 7 installation started giving this error. The error message shows the correct help path, but with the backslashes removed. The Help files are pr开发者_运维百科esent in the expected location

My Delphi 7 installation started giving this error. The error message shows the correct help path, but with the backslashes removed. The Help files are pr开发者_运维百科esent in the expected location (C:\Program Files\Borland\Delphi7\Help). I'm running D7 under Windows 7. It was working previously.

Delphi context help says "Cannot find the C:Program FilesBorlandDelphi7Helpd7.hlp file"

Sometimes I also get this error :

Delphi context help says "Cannot find the C:Program FilesBorlandDelphi7Helpd7.hlp file"

I have searched on Google, and I find others reported the problem, but no solution has been posted.


I have found that this error can be cause by help files missing from OpenHelp project.
To replicate error I would just add {$WARN} to simple project and press F1 on WARN word.
To fix it:

  • run delphi 7
  • click Help->Customize (OpenHelp window will be shown)
  • in OpenHelp for each of "Context", "Index" and "Link" tabs:
    • select tab
    • browse to C:\program files\borland\delphi7\help (or whatever your delphi installation path is)
    • select missing files (in my case it was d7dopts.toc, d7dopts.hlp, d7derrs.toc and d7derrs.hlp)
    • save project
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号