Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REGISTRY Writing and Reading

Status
Not open for further replies.

Robertus

Programmer
Feb 16, 2001
81
RO
How do I use CRegKey so that I could create multiple levels of keys and subkeys, in registry?
I would like something like this:

HKEY_LOCAL_MACHINE
- Robertus(key)
-About(subkey of Robertus)
-Age xx (int value)
-Height zz (int value)
-Marital Status: "vv" (string value)
-Skills(subkey of Robertus)
- AAA(subkey of Skills)
- BBB (subkey of AAA)
- field1 87 (long value)
- field2 67 (long value)

And then how should I get the value that "hides" under BBB - field1, for example?
(I would like a piece of code if possible, please)

Thanks a lot, even if you answer me or not!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top