How to fix broken context sensitive help in IDE of Delphi 2010

后端 未结 7 1006
臣服心动
臣服心动 2020-12-16 08:24

After working for quite some time, my D2010 help system broke.

Highlighting a keyword like TStringList and hitting F1 results in the message \"No help found for con

相关标签:
7条回答
  • 2020-12-16 09:15

    The following batch file works for me (without closing Delphi):

    REM Kill running instances of Microsoft Document Explorer
    taskkill /f /im dexplore.exe
    
    REM Go to the Delphi Help Files folder
    IF EXIST  "%programfiles%\Embarcadero\RAD Studio\8.0\Help\Doc" PUSHD "%programfiles%\Embarcadero\RAD Studio\8.0\Help\Doc"
    IF EXIST  "%programfiles(x86)%\Embarcadero\RAD Studio\8.0\Help\Doc" PUSHD "%programfiles(x86)%\Embarcadero\RAD Studio\8.0\Help\Doc"
    
    REM Unregister Delphi Help Files
    h2reg.exe -u
    
    REM Register Delphi Help Files
    h2reg.exe -r
    
    0 讨论(0)
提交回复
热议问题