• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

Keys in registry

How do I find the the names on the keys below a certain key in registry? I want to find the names in hex of the NICs:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
 Tcpip\Parameters\Interfaces\{some_long_hex_number}
                             {another_long_hex_number}
                             {....}

I'm using D5 Ent.
Regards,
Morten
0
mdrasted
Asked:
mdrasted
1 Solution
 
ntonyCommented:
take a look to
   GetValuesNames
   GetKeyNames
funtions

maybe it's what you are looking for
0
 
robert_marquardtCommented:
Have a look at the Jedi Code Library at http://www.delphi-jedi.org/Jedi:CODELIBJCL. It contains among (MANY) other functions RegGetKeyNames and RegGetValueNames.
0
 
gemartiCommented:
GetValueNames will work fine on a Windows NT system; but forget trying to use it on a Windows 9x system unless your running it on the local machine. GetValueNames will not work correctly if you try to connect to a remote W9x machine. There is a bug with the W9x OS.

See my previous Q on a similar subject. I also posted code on accessing and reading key values and data from the registry that may help you out.

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=delphi&qid=20172962

also here is the Article ID that can be found on the microsoft site:
Q193465


0
 
mdrastedAuthor Commented:
That's what I'm looking for, thanks for your help!

Regards,
Morten
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now