Enumerate through an hkey's StringValue and Name.
Posted on 2000-03-27
Knowing that i already have a key at
-Setting1 = "1234567"
-Setting2 = "aaaaaaa"
how do i enumurate thorugh MYSETTINGS to get all the available setting information. Since I do not know how many Settings they are in MySettings and I do not know what the Key and also the value is?
it could be Setting1, it could be SettingAAA etc.
Some code samples would help, ive tried playing around with RegEnumKey RegEnumValue and RegQueryalue and its associated functions but I can't seem to get it to work... it wont even compile right becoz i dun really know how to pass in some of its function parameters... im still pretty new in VC++ so workable code samples would really really help...
ive looked thorugh code guru and most of the samples are for extracting values where u already know the HKEY to look for... and in my case i do not..
so lotsa help needed... regards