[Lazarus] ChmHelpPkg: better way to show all CHMs when starting lhelp?

Reinier Olislagers reinierolislagers at gmail.com
Sun Jul 22 08:27:33 CEST 2012

On 21-7-2012 14:19, Mark Morgan Lloyd wrote:
> Reinier Olislagers wrote:
>> Hi list,
>> Editing ChmHelpPkg to try and solve bug 22110 Help (at least CHM help)
>> should open all help files to enable content/index search
>> I want to open all .chm files in the help database when starting up
>> lhelp, which allows browsing and searching through the entire
>> documentation set.
>> See modified code below.
>> Though this seems to work (I get the RTL, FCL, LCL and reference guide
>> CHMs displayed, and the proper help subject is shown), it's clunky:
>> - using built-in sleep periods seems clunky. Tried removing this, but
>> IIRC the reference guide then fails to load.
> Presumably there's no back-channel that allows lhelp to confirm that
> it's just completed a load. Can something writing via SimpleIPC check
> whether the last message has been read, and would putting a dummy
> message between CHM names help?
Thanks, Mark.

Could very well be, but the code I showed is at a higher abstraction
level... and I don't know enough about other similar functions (i.e.
what the data structures mean) which one to use unless I do a lot more

More information about the Lazarus mailing list