Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • 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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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