Link to home
Start Free TrialLog in
Avatar of alexsxds
alexsxds

asked on

Registry database updating

If I change registry database contents by using functions like RegSetValue what should I do to force changes take effect. I tried RegFlushKey with one of predefined reserved handle values (HKEY_LOCAL_MACHINE) as an argument, but there was no effect.
Avatar of jhance
jhance

The data will be stored in the registry after you either do a RegCloseKey on the key you have open for write, or after you call the RegFlush or RegFlushKey.  Now if you question has to do with applications that use values stored in the registry, then there is no good answer.  Each application reads it's data from the registry when it was designed to.
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

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