Complete Registry Access

Can someone send me a sample that gives complete registry access?

Need the ability to:

- Read/Write String/Boolean/DWord values.

- Create Keys.

- Delete Keys.

- Enumerate values.

- Have an error handler.

Could you please package it up into one workspace and sent it to me at: header@rocketmail.com

Also, please post it here so everyone can see.
LVL 2
headerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jhanceCommented:
I had used my own set of functions for quite some time but I happened across this one:

http://www.codeguru.com/system/registry_koening.shtml

Since finding it I've used it extensively and it works great.  I'd suggest you take a look at it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
headerAuthor Commented:
I get the following errors while trying to compile the sample program from the site you mentioned.  Can you help me with what this means?

Compiling...
Registry.cpp
C:\msdn\Registry Class\Registry.cpp(57) : warning C4005: 'TRACE0' : macro redefinition
        C:\msdn\Registry Class\Registry.cpp(54) : see previous definition of 'TRACE0'
C:\msdn\Registry Class\Registry.cpp(58) : warning C4005: 'TRACE1' : macro redefinition
        C:\msdn\Registry Class\Registry.cpp(55) : see previous definition of 'TRACE1'
C:\msdn\Registry Class\Registry.cpp(864) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.

RegTest.exe - 1 error(s), 2 warning(s)
0
jhanceCommented:
Fix your precompiled header problem.  Delete the *.pch files and/or turn off the pre-compiled header support in VC++
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.