How to fix vulnerable context help in the Delphi 2010 IDE

After a lot of work, my D2010 help system broke down.

Highlighting a keyword such as TStringList and pressing F1 results in the message “No context information found”.

Place the cursor in the property field (for example, ModalResult) in the editor property and hit F1 shows the hourglass and that’s it.

By clicking on the "Help on the IDE Main Menu" button, then open the "Delphi Help" tab. I can enter a TStringList in the search field (in the Microsoft Explorer document that appears, it loads using "What's New - Embarcadero RAD Studio") and get the corresponding results.

Anyone have any suggestions on how to fix this?

+3
source share
6 answers

Perhaps you can improve the situation by restoring the help index files.

Open a command prompt and go to the $ (BDS) \ Help \ Doc folder. Run H2Reg -uto unregister existing help topics, and then run H2Reg -rto re-register. THen launches help, and you should get a dialog that talks about indexing content.

If you need more information on H2Reg.exe, simply run it without parameters from the command line; it displays a dialog with details about the command line switches and what they do. You should also check throuh H2Reg.ini, as it has comments for each section and what it does to influence things.

, , XE , .

+6

3 :

1 - - , , Rad Studio , , delphi.

2 - Antoher , ( , Microsoft Windows 7 sp1, ). - ( Delphi).

3 - , F1, Delphi ( ).

, delphi- ( ).

: delphi ( , Delphi).

+2

( 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
+2

Delphi XE , :

  • Delphi XE
  • "Embarcadero\RAD Studio\8.0\Help\Doc"
  • rad.hxs, vcl.hxs codeex.hxs ( dexplore.exe , , )
  • Delphi XE F1 ( )
  • Delphi XE
  • dexplore.exe,
  • "Embarcadero\RAD Studio\8.0\Help\Doc"
  • Delphi XE F1 ( )
+1

, H2Reg .:( Delphi RAD Studio XE2 , ​​ "" F1, . :) Delphi, " ", Delphi, .:)

0

The methods for using h2reg.exe do not work for my case (RAD Studio XE3). It costs me a few hours to find out my solution. The main cause of my problem is a broken Microsoft Document Explorer 2008. I am trying to repair it from the control panel -> Uninstall application. Of course, you can remove it and install it from many sources, including the RAD studio help system.

Try if other methods do not work.

0
source

Source: https://habr.com/ru/post/1547193/


All Articles