The (Default) entry in the registry is set to (value not set). When I modify this entry with some value RegEdit updates the registry with the new value as (Default) "some value".
However, if I modify this entry through a program using one of the registry API functions the registry is updated but a new (Default) entry is introduced along with my modified entry. So, using RegEdit to see the change I get the following display:
(Default) (value not set)
(Default) "some value"
.
.
.
.
Why does this occur? How can I prevent this from occuring while using my program?
When the key name is set to null string you get the default entry. Don't specific a key name like [db "(Default)", 0]
Regards, P1 :8)
Quote from: P1 on December 16, 2005, 06:20:23 PM
When the key name is set to null string you get the default entry. Don't specific a key name like [db "(Default)", 0]
Regards, P1 :8)
Thanks, P1. That did the trick