Hello,
I use the TRegistry class, to develop a small tool where I need to search the Registry data base. It works at 90 percent, but I get some keys where even though there are three subkeys named : 0000, 0001 and 0003;
GetKeyInfo(KeyInfo); returns 0 in the the field : KeyInfo.MaxSubKeyLen
where it should be 4. Does anyone know about this problem ?
KeyInfo.NumSubKeys contains 3 as it should though.
After that the GetKeyNames method gets a bunch of empty strings as we might expect and this is where my problem is.
Thanks for any tip or suggestion.
Michel
I use the TRegistry class, to develop a small tool where I need to search the Registry data base. It works at 90 percent, but I get some keys where even though there are three subkeys named : 0000, 0001 and 0003;
GetKeyInfo(KeyInfo); returns 0 in the the field : KeyInfo.MaxSubKeyLen
where it should be 4. Does anyone know about this problem ?
KeyInfo.NumSubKeys contains 3 as it should though.
After that the GetKeyNames method gets a bunch of empty strings as we might expect and this is where my problem is.
Thanks for any tip or suggestion.
Michel