Registry

Blitz3D Forums/Blitz3D Programming/Registry

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

We have userlibs these days and with windows api nothing is impossible....

try playing around with this
.lib "advapi32.dll"

RegOpenKeyEx%(hKey%,lpszSubKey$,dwReserved%,samDesired%,phkResult):"RegOpenKeyExA"
RegQueryValueEx%(hKey%,lpszValueName$,lpdwReserved%,lpdwType%,lpbData,lpcbData):"RegQueryValueExA"


i didn feel like writing teh blitz code just remember that lpbData,lpcbData and phkResult are pointers to a memory buffer so use banks and peekbyte those banks....

if you wanted i could create a dll that could write/read/delete regkeys