Pelles C forum

Pelles C => Add-ins => Topic started by: TimoVJL on October 11, 2026, 02:14:05 PM

Title: Chm help helper
Post by: TimoVJL on October 11, 2026, 02:14:05 PM
If Win32.chm don't work well with poide, this might help.
Just make ChmHelpAW.ini file to Libraries -> Documents folder with:
[Settings]
HelpFile=C:\your folder\Win32.chm
Source is for Pelles C 13, 14
Title: Re: Chm help helper
Post by: John Z on October 11, 2026, 03:02:54 PM
Timo - That looks good.

There is another method too -

It can also be added through the Tools - Customize - Help Files, Attached screen shot -

John Z
Title: Re: Chm help helper
Post by: TimoVJL on October 11, 2026, 03:44:36 PM
I tested it first, but i had problems with it.
For example check CloseHandle and what you see ?

DialogBox -> CommDlgExtendedError
EndDialog -> CCHookProc

no help :
CreateProcessW
Title: Re: Chm help helper
Post by: John Z on October 11, 2026, 06:00:32 PM
Hmmm - strange because I see CloseHandle no problem, using the win32.chm under Pelles Help set as above in Tools.

I also see it when the Hint Add-in calls win32.chm on its own.

Something unusual happening there - something corrupted maybe?


For CreateProcessW - Yes this is just not in the win32.chm file.  That file contains no "A" or "W" trailing identifiers at all.  This is a drawback to win32.chm which came out so long ago, but Hint Add-in and Hint_SA do include the W format so that the pointers are shown correctly.

John Z
Title: Re: Chm help helper
Post by: Vortex on October 12, 2026, 08:05:16 PM
Hi Timo,

Thanks for your add-in. I managed to install it. Right clicking an API function, the internal browser of Pelle's IDE takes me to the first page of win32.chm, Microsoft Win32 Programmer's Reference.
Title: Re: Chm help helper
Post by: TimoVJL on October 12, 2026, 08:12:42 PM
Just use F1 key on keyword
Title: Re: Chm help helper
Post by: Vortex on October 12, 2026, 08:20:23 PM
Hi Timo,

Highlighting the API CreateWindowEx on Pelles IDE, I hit F1. The IDE guided me to the chapter About Common Controls.
Title: Re: Chm help helper
Post by: TimoVJL on October 12, 2026, 09:19:36 PM
No need to hilight, just cursor over keyword and hit F1 key.

If Win32.chm is already in poide help settings, it take it first before ChmHelpAW Add-In.
A that F1 help system is chained.
A that Win32.chm from John Z package is in my tests and works.

Tested Win32.chm is Laurence Jackson's version and it is very old, so it don't support any 64-bit definitions.