Page 1 of 1

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

Posted: Thu Oct 23, 2025 6:42 am
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.

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

Posted: Thu Oct 23, 2025 7:59 am
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...

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

Posted: Thu Oct 23, 2025 9:23 am
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.

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

Posted: Thu Oct 23, 2025 2:06 pm
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

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

Posted: Thu Oct 23, 2025 2:36 pm
by Rinzwind
Search before posting
viewtopic.php?t=75805
But this feature request forum serves merely a therapeutic function it seems

:P