Hi,
How do I see if a value exists inside a key?
Thanks for your help,
Daniel
Hi,
How do I see if a value exists inside a key?
Thanks for your help,
Daniel
Er, open the key and look?
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Use RegOpenKeyEx to open the key and then use RegQueryValueEx to check the value. If RegQueryValueEx fails, you can check if the reason was that the value was nonexistent.
Also, after using RegOpenKeyEx, you could use RegEnumValue and search through all of the values.