how do I write a plugin? - documentation in HLP only

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
vjedlicka
Junior Member
Junior Member
Posts: 3
Joined: 2018-02-19, 13:22 UTC

how do I write a plugin? - documentation in HLP only

Post by *vjedlicka » 2018-11-29, 14:39 UTC

Is there a documentation in a readable format?
I cannot open the HLP file in the plugin forum.
I need to write a liste plugin in c++

Thanks
Vaclav

User avatar
Dalai
Power Member
Power Member
Posts: 6747
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: how do I write a plugin?

Post by *Dalai » 2018-11-29, 14:50 UTC

The plugin interface description is in HLP format. In order to read it, you have to install a Windows update (Win7/8.1) or rely on third-party "hacks" (Win10), or use a VM with a system that can read them natively (XP). It's just the way it is at the moment, despite the suggestions to convert the documentation to CHM.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups

User avatar
Stefan2
Power Member
Power Member
Posts: 2643
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: how do I write a plugin?

Post by *Stefan2 » 2018-11-29, 21:15 UTC

vjedlicka wrote:
2018-11-29, 14:39 UTC
I cannot open the HLP file in the plugin forum.
vjedlicka wrote:
2018-11-29, 14:39 UTC
I need to write a liste plugin in c++
Good luck then :shock:


You just need a file "winhlp32.exe" (i am think mine was from XP, it has a timestamp 14.04.2008)
I tested that last on a Win7 box and that worked to read the HLP. (good idea for me to check that on 8 and 10 too soon)




 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

User avatar
Dalai
Power Member
Power Member
Posts: 6747
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: how do I write a plugin?

Post by *Dalai » 2018-11-29, 21:55 UTC

2Stefan2
Although winhlp32.exe is enough to open HLP files, some DLLs are required to do more with them: e.g. ftsrch.dll to be able to search in HLP files.

----

In addition to my post above: Use KB917607 on Win7 or 8.1. On Win10 you can use the archive made by Komeil Bahmanpour which at least contains the EXE. Replacing any files requires to take ownership and changing access to them. Yes, it's annoying, but it's even more annyoing that Microsoft decided to change the Windows help formats nearly half a dozen of times in the last decade!

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups

User avatar
HolgerK
Power Member
Power Member
Posts: 5147
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: how do I write a plugin?

Post by *HolgerK » 2018-11-29, 22:56 UTC

All you need is a sub folder like:

Code: Select all

%COMMANDER_PATH%\Addons\winhlp32\en-us\winhlp32.exe.mui
%COMMANDER_PATH%\Addons\winhlp32\winhlp32.exe
and an internal associaton for *.HLP

Code: Select all

[Associations]
Filter<N>=*.HLP
Filter<N>_open=%COMMANDER_PATH%\Addons\winhlp32\winhlp32.exe "%1"
(replace <N> with a free number)

Tested with win10 pro 1803 x64(en)

Regards
Holger
Make our planet great again

vjedlicka
Junior Member
Junior Member
Posts: 3
Joined: 2018-02-19, 13:22 UTC

Re: how do I write a plugin?

Post by *vjedlicka » 2018-11-30, 09:45 UTC

Would not it be easier to publish the help file in a readable format (HTML, PDF)?
Instead of having to install weird obsolete stuff each time I am on a new computer?

User avatar
HolgerK
Power Member
Power Member
Posts: 5147
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: how do I write a plugin?

Post by *HolgerK » 2018-11-30, 20:12 UTC

The above mentioned method is portable and helps also for help files which will never be converted into a newer format.
Feel free to support this request: viewtopic.php?p=311140#p311140

Regards
Holger
Make our planet great again

Post Reply