Entering any item in text mode IDE's help's index causes runtime error 213
Original Reporter info from Mantis: bunnylin @bunnylin
-
Reporter name: Kirinn
Original Reporter info from Mantis: bunnylin @bunnylin
- Reporter name: Kirinn
Description:
With CHM help files set up as the text mode IDE wants, trying to use the Help Index causes a runtime error 213. The index itself does appear, listing all known help items, but attempting to select any of them produces a message box: "Program generated a RTE 213 at address $0000041E9FD. Save your sources and restart the IDE. [OK] [Cancel]".
Steps to reproduce:
- Acquire the CHM help files from the FTP: pub/fpc/beta/3.2.0-rc1/docs/doc-chm.zip
- Unzip them somewhere convenient.
- Open the textmode FP IDE.
- Select Files... in the Help menu. Add your unzipped copy of toc.chm to the list, then the other CHM files.
- Select Index in the Help menu.
- Select any item in the Index list. Runtime error 213 occurs.
Additional information:
This error happens for 3.2.0 RC1 tested on 64-bit Fedora 31 as well as 32-bit Windows 7, so it's a cross-platform bug.
It's kind of a pain to correctly set up the help files for the text mode IDE, but when I followed the same steps for the 3.0.4 IDE (using the 3.2.0 help files), the help index worked without crashing. So this is a regression in the 3.2.0 IDE specifically.