Link to home
Start Free TrialLog in
Avatar of TelDig
TelDigFlag for Canada

asked on

How to change access rights of an existing registry key using VC++ 6.0

Hi,

I have found in an Expert Exchange thread a way to create registry keys with all access for all users.
My problem is that I need to allow all users to have all access to registry keys that already exists.
Is there a way to modify the access using C++ code or through a reg file ? Or do I need to delete and create them again ???

Please help me! I need an answer ASAP!
Thank you
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TelDig

ASKER

Thanks, I'm trying it right away!
Avatar of TelDig

ASKER

Thanks a lot jkr, it works great!
Avatar of TelDig

ASKER

It was very fast
Not surprised, that is 'production code' ;o)
Disclaimer&Correction: This is an example derived from production code...