Add RegAdd(), RegUpdate(), RegDelete() functions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
hdt888
User
User
Posts: 56
Joined: Sun Jul 07, 2024 8:42 am

Add RegAdd(), RegUpdate(), RegDelete() functions

Post by hdt888 »

I am working (add/delete/edit) on HKLM\XXX and HKLM\Wow6432Node\XXX branches. I have to use "registrymodule.pbi". The code is verbose and not performance-friendly.

Admin, please add RegAdd(), RegUpdate(), RegDelete() functions, support HKLM\XXX and HKLM\WOW6432Node\XXX branches without using registry module.
PB 5.x + 6.x + Win10. Feel the ...Pure... Power.
User avatar
Bisonte
Addict
Addict
Posts: 1319
Joined: Tue Oct 09, 2007 2:15 am

Re: Add RegAdd(), RegUpdate(), RegDelete() functions

Post by Bisonte »

hdt888 wrote: Thu Oct 23, 2025 6:42 am I am working (add/delete/edit) on HKLM\XXX and HKLM\Wow6432Node\XXX branches. I have to use "registrymodule.pbi". The code is verbose and not performance-friendly.

Admin, please add RegAdd(), RegUpdate(), RegDelete() functions, support HKLM\XXX and HKLM\WOW6432Node\XXX branches without using registry module.
I think the Windows Registry is not a good place to make changes or store data...
And this is Windows only. I think you have to make the "registrymodule.pbi" new, that it fits your needs...

And btw. you can make your own "User-Library" since V6.20...

Just my two cents...
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
BarryG
Addict
Addict
Posts: 4218
Joined: Thu Apr 18, 2019 8:17 am

Re: Add RegAdd(), RegUpdate(), RegDelete() functions

Post by BarryG »

Bisonte wrote: Thu Oct 23, 2025 7:59 amthis is Windows only
Bisonte is correct. Since PureBasic is cross-platform, a full library dedicated to only Windows is not going to be done (Fred has said this before). Only some commands can be platform-specific (and/or have platform-specific flags), but not entire libraries. This is one of the few drawbacks about PureBasic. :(
Bisonte wrote: Thu Oct 23, 2025 7:59 amthe Windows Registry is not a good place to make changes or store data
Depends what your app does with the Registry. It doesn't have to be about storing app data, but about making changes to the OS.
AZJIO
Addict
Addict
Posts: 2218
Joined: Sun May 14, 2017 1:48 am

Re: Add RegAdd(), RegUpdate(), RegDelete() functions

Post by AZJIO »

hdt888 wrote: Thu Oct 23, 2025 6:42 am I have to use "registrymodule.pbi"
Why is there no link?
I'm using this
or my functions
viewtopic.php?p=620067#p620067
viewtopic.php?p=622539#p622539
Rinzwind
Enthusiast
Enthusiast
Posts: 702
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: Add RegAdd(), RegUpdate(), RegDelete() functions

Post by Rinzwind »

Search before posting
viewtopic.php?t=75805
But this feature request forum serves merely a therapeutic function it seems

:P
Post Reply