registry api
Blitz3D Forums/Blitz3D Userlibs/registry api
| ||
when using the registry api, you have to pass a value for the top level key. the problem is ... the values for the top level keys start at H80000001 (2147483649), and the biggest integer that you can use in blitz3d is H7FFFFFFF (2147483647). I'm thinking that I'll probably have to write a dll in VC++, so I can pass a smaller value to a custom function. Does anybody have any suggestions |
| ||
I think it should work if you just pass $80000001, etc, as it'll wrap around using signed values. Checking the value of the Win32 root key constant HKEY_USERS in another Basic produces -2147483645, and that works fine. |
| ||
I tried passing $80000001 and it didn't work, my return value was 87 (0 on success). I also tried all the other key constants with the same results. ??? |
| ||
JC, ive wrote a registry userlib, no .dll required. theres also an example with it. ive posted this sometime back in the blitzplus forums but it can be used in blitz3d also. http://www.blitzbasic.com/Community/posts.php?topic=46067 kev |