Blitz Toolbox/DLLs/Registry

Registry by ChrML

None

About

I've made a little userlibrary to those who wants it,
which gives Blitz possibilities to write and read to/from the registry.

Features:
Reg_ReadInt%( RootKey$, Path$, Name$)
Reg_ReadString$( RootKey$, Path$, Name$)
Reg_ReadFloat#( RootKey$, Path$, Name$)
Reg_WriteInt%( RootKey$, Path$, Name$, Data%)
Reg_WriteString%( RootKey$, Path$, Name$, Data$)
Reg_WriteFloat%( RootKey$, Path$, Name$, Data#)
Reg_WriteBinaryData%( RootKey$, Path$, Name$, BankSize%, Bank)
Reg_KeyExists%( RootKey$, Path$)
Reg_ValueExists%( RootKey$, Path$, Name$)
Reg_DeleteKey%( RootKey$, Path$)
Reg_DeleteValue%( RootKey$, Path$, Name$)


I would recommend that you backup your own registry if you're not familiar with programming in it before starting (however, I must admit that I have never backuped the registry. Not even when I made and tested this DLL).

Download it here (dll and .decls file)

Use it as you wish!


Disclaimer: Reg.dll is bugfree (with 1.87 atleast), and alone it can't do any damage to the registry, however, that does not mean that the Blitz program that uses reg.dll can't damage it. If you find reg.dll in the same dir as a Blitz program that destroyed your Windows, then I'm not the person to be held responsible for that (as it's the Blitz programmer that uses the library that must know what shouldn't be done to a users registry).