Page 1 of 1

PureHelp

Posted: Fri Oct 03, 2025 10:52 am
by Mesa
I'm sharing my PureHelp, which displays PureBasic help but with more options, such as zoom management, font size, languages, etc.

It works on my Windows 10 64-bit and Windows XP 32-bit.
It should work on Linux and macOS, but it hasn't been tested.

Image
http://frazier.wood.free.fr/pb/PureHelp.png

Download here:
https://github.com/Mesaliko/PureHelp

Mesa.

Re: PureHelp

Posted: Fri Oct 03, 2025 11:28 am
by Axolotl
The image looks very cool.
Thanks for sharing.

Re: PureHelp

Posted: Fri Oct 03, 2025 11:29 am
by PeDe
The project cannot be compiled because the constants #LANG_ENGLISH, #LANG_FRENCH, etc. are missing.

(PB v6.30b2 x64 Raspberry Pi OS)

Peter

Re: PureHelp

Posted: Fri Oct 03, 2025 1:19 pm
by Mesa
It's strange because these are pb constants, at least on windows, so on rpi linux maybe you can try #lang_english=9, french=12, german=7.
M.

Re: PureHelp

Posted: Fri Oct 03, 2025 2:13 pm
by PeDe
H_Procedures.pbi
Line 1218: Missing EndSelect
Line 1278: Structure not found: ICoreWebView2Controller

I didn't get any further than that; I've never used WebView before.

Peter

Re: PureHelp

Posted: Mon Oct 06, 2025 11:05 am
by Fred
WebView2 is Windows only

Re: PureHelp

Posted: Sat Oct 11, 2025 10:42 am
by Mesa
@PeDe: I've made some modification, could you test it again ?

M.

Re: PureHelp

Posted: Sat Oct 11, 2025 2:04 pm
by PeDe
Hello Mesa,

H_Language.pbi
Line 138: Constant not found: #LANG_ENGLISH


H_Initialization.pbi
Line 28:
;Raspberry pi doesn't know some pb constants !
CompilerIf Defined(LANG_ENGLISH, #PB_Constant)
#LANG_ENGLISH = 9
CompilerEndIf

How is that supposed to work? If the constant #LANG_ENGLISH is defined, CompilerIf is no longer needed. The value of the constant can then no longer be changed.


H_Procedures.pbi
Line 1555: With 'EnableExplicit', variables have to be declared: IconSize

H_Initialization.pbi
Line 134:
CompilerSelect #PB_Compiler_OS
CompilerCase #PB_OS_Windows
Global ImageList, IconSize
; CompilerCase #PB_OS_Linux
; CompilerCase #PB_OS_MacOS
; CompilerDefault
CompilerEndSelect

IconSize is missing for Linux.


H_Procedures.pbi
Line 2796: Search_FindStringInMemoryAll(): Incorrect number of parameters.
Line 2797: Search_FindInRamDiskAll(): Incorrect number of parameters.
Line 3656: InitWebXP() ist not a function, array, list, map or macro.

H_Runtimes.pbi
Line 28: With 'EnableExplicit', variables have to be declared: ShowSearch.

This is where I stopped trying to compile the code.

Peter