Can someone please help me by providing sample code of a function that can make recursive search in Registry and place all the results in a StringList?
So in other words I need a function where I can send to it:
- HKEY (Ex. HKEY_LOCAL_MACHINE).
- Starting Key (Ex. \Software\)
- StringList (Ex. MyStringList)
Then the function should get me all keys, SubKeys under HKEY_LOCAL_MACHINE\Software\ and return them to the calling function in a StringList.
Thanks in advance for your time...