PureHelp

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
Mesa
Enthusiast
Enthusiast
Posts: 441
Joined: Fri Feb 24, 2012 10:19 am

PureHelp

Post 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.
Axolotl
Addict
Addict
Posts: 871
Joined: Wed Dec 31, 2008 3:36 pm

Re: PureHelp

Post by Axolotl »

The image looks very cool.
Thanks for sharing.
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PeDe
Enthusiast
Enthusiast
Posts: 301
Joined: Sun Nov 26, 2017 3:13 pm

Re: PureHelp

Post 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
Mesa
Enthusiast
Enthusiast
Posts: 441
Joined: Fri Feb 24, 2012 10:19 am

Re: PureHelp

Post 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.
PeDe
Enthusiast
Enthusiast
Posts: 301
Joined: Sun Nov 26, 2017 3:13 pm

Re: PureHelp

Post 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
Fred
Administrator
Administrator
Posts: 18341
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureHelp

Post by Fred »

WebView2 is Windows only
Mesa
Enthusiast
Enthusiast
Posts: 441
Joined: Fri Feb 24, 2012 10:19 am

Re: PureHelp

Post by Mesa »

@PeDe: I've made some modification, could you test it again ?

M.
PeDe
Enthusiast
Enthusiast
Posts: 301
Joined: Sun Nov 26, 2017 3:13 pm

Re: PureHelp

Post 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
Post Reply