Solved

Read the Registry

Posted on 1997-06-21
3
203 Views
Last Modified: 2010-04-04
I know how to read through dirs, but how do I read the
registry? I use win95 with Delphi 1, and I am curious how
to read a value like hkey_users/mydir1/mydir2/thisval.
I am only interested in reading a value, not changing it.
Any ideas?
              Thanks,
                  jexd99@aol.com
0
Comment
Question by:jexd99
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
sleach earned 20 total points
ID: 1337428
Use TRegistry.  This is Delphi's native support for accessing the registry.
0
 
LVL 1

Expert Comment

by:sleach
ID: 1337429
Additional Note:  Delphi has a help file for TRegistry, but it may be hard to find.  The easiest way to bring it up is to type "TRegistry"  somewhere in the code editor, place your cursor on the word, and press the F1 key.  

For some reason, using the help search index doesn't find the topic on my system.  

0
 

Author Comment

by:jexd99
ID: 1337430
TRegistry doesn't show up in D1 help or if I put it in my
code and press F1 as stated above. Thanks for the response.  I am assuming you are using a different version with
a better "help" index, as I have searched for this and cannot find it. :(

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question