I need someone to write a registry function wrapper based on the code found at [url removed, login to view] (this is VB code, but the actual wrapper can be VB, C++, or whatever - I won´t need the source code)
The only difference is that I need to pass the HKEY values to this wrapper as strings. The wrapper should then resolve these according to the list below, pass them to advapi32, and then return the result (and data value if applicable) back through the wrapper.
Global Const HKEY_CLASSES_ROOT = &H80000000
Global Const HKEY_CURRENT_USER = &H80000001
Global Const HKEY_LOCAL_MACHINE = &H80000002
Global Const HKEY_USERS = &H80000003
In other words, rather than passing the HKEY hex values above, I need to pass the hKey name as a string (i.e. "HKEY_CURRENT_USER"). The wrapper will then resolve this string into the appropriate hex value, call the function in advapi32, and then return the result and value (for queries).
Why!? you ask.... I am programming in a not-so-well-known and application-specific language where the maximum long integer value is &H79999999. Horribly inconvenient!
The wrapper should be named [url removed, login to view]