In all cases when the chm loaded it reported "This page can't be displayed". This happens whether the chm initially opens to the Contents tab or the Search tab.
I don't know, but did you enter the topic correctly? Sometimes the extension is .html, sometimes only .htm.
Yes, I tried both .html, .htm, and no extension.
Please compile the program chmls (in fpc/packages/chm). Run it with the chm file as a parameter and it will list you all contained topics along with extension and path.
chmls compiled but with 7 warnings. I copied it to the folder with rtl.chm and then ran it from a Windows cmd window --
>chmls list rtl.chm
chmls, a CHM utility. (c) 2010 Free Pascal core.
An unhandled exception occurred at $000000010001AB49:
EFOpenError: Unable to open file "rtl.chm"
$000000010001AB49
$000000010001A9F3
$0000000100003015 line 273 of chmls.lpr --> Stream := TFileStream.Create(name, fmOpenRead);
$00000001000083B1 line 1025 of chmls.lpr --> ListChm(localparams[0],Section);
$0000000100008986
$0000000100017663
$0000000100017FB1
$00000000774459CD
$000000007757B891
Same result with or without the "list" command. Also, same result with Small_demo_1a.chm. Doesn't run without the chm extension.
I double checked to make sure that chmls.exe and the chm files are in the same folder.