Gene Wirchenko <genew (AT) ocis (DOT) net> wrote:
Quote:
Watch carefully as Gene gingerly pokes his way through the
minefield called the Registry. |
I have made some more progress, but I have a weird problem that
suggest that I am missing something. Here is the sequence:
OpenKey for HKEY_CURRENT_USER on "Software\Adobe\Acrobat
Distiller\PrinterJobControl", creating it. This works.
GetRegKey, SetRegKey, GetRegKey for "application". The first
picks up any previous value, the next writes, the last verifies the
write. This works.
SetRegKey again for "application" to a different value. This
works.
I GetRegKey and get the different value. This works.
I GetRegKey for a *different* key and get that same newe value.
This happens even though the different key is not in the Registry!
CloseKey()
If I then OpenKey, GetRegKey for the different key, I get "" as
expected.
Why the different values?
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.