[Module] Application Registry (all OS)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

[Module] Application Registry (all OS)

Post by Thorsten1867 »

Application Registry - Module (all OS / 64Bit)

The application is comparable with the Windows Registry, just for your own program.
You can store a lot of program internal data there and reuse it at the next program start (e.g. status of a ComboBox or the last used path for the OpenFileRequester()).

Code: Select all

; AppReg::Remove()     - remove this application registry
; AppReg::Delete()     - deletes a 'Name' or a 'HKey'
; AppReg::GetFloat()   - returns the value as float
; AppReg::GetInfo()    - returns infos about the application (AppName/Publisher/Date of modification)
; AppReg::GetInteger() - returns the value as integer
; AppReg::GetValue()   - returns the value as string
; AppReg::SetFloat()   - store a float number
; AppReg::SetInteger() - store an integer number
; AppReg::SetValue()   - store a string
; AppReg::Open()       - open new or existing Application Registry
; AppReg::Close()      - close Application Registry and save it to file
Download: ApplicationRegistryModule.pbi
Last edited by Thorsten1867 on Sat Nov 23, 2019 10:59 am, edited 1 time in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5349
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: [Module] Application Registry (all OS)

Post by Kwai chang caine »

Works fine on W10 X64 / v5.70 x86 :D
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
Post Reply