Author:
Date: Jan 13, 2008 04:58
Hello all,
I want to implement a function which test wheither a given registry
value exists or not. For this, i use RegQueryValueEx() API as following,
but it always return an error code 2. However, the value exists, is
accessible (RW). I can't figure out why.
result = RegQueryValueEx(HKEY_LOCAL_MACHINE,
"SOFTWARE\\7-Zip\\Path",
NULL,
NULL,
NULL,
NULL);
Any idea?
Vincent
|