Re: Strange Registry behaviour
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 26 Nov 2007 10:01:33 -0700
When you use ReadRegistryFromOEM/WriteRegistryToOEM, each time you do a
write, the order in which keys and values in your registry will be
enumerated is reversed. There must be some order-dependent code somewhere
in there. When A appears in the enumeration before B, all is well; when B
appears before A, there is a problem.
I haven't used the RAM-based registry storage method in CE5, so I'm not sure
if this is an obvious error or if there might be some other situation that
you have created that is also a contributing factor. The best I can suggest
is to debug the shell's creation and display of the desktop window to make
sure that it is doing what you expect in each situation. You have the code
in PUBLIC/SHELL, etc.
Paul T.
"Albert" <email@xxxxxxxxxx> wrote in message
news:eKtVHPEMIHA.748@xxxxxxxxxxxxxxxxxxxxxxx
After saving the registry, and rebooting, my Desktop ICONs have
disappeared.
I save the registry again, reboot and they're back....they toggle between
being there and not being there each time I save and reboot.
Using a registry editor, they're always listed under HKLM\Explorer\Desktop
{000214A1-0000-0000-C000-000000000046} Recycle Bin
{000214A0-0000-0000-C000-000000000046} My Device
If I edit the keys, then edit them back again and refresh the desktop, the
ICONs appears.
Looks like the regitry being restored ok....every other save works ok, and
even when it doesn't work I can get it to work without any changes (ok I
change it, then put it back) and refresh the desktop.
Any ideas?
I am using ReadRegistryFromOEM / WriteRegistryToOEM but I'm as sure as I
can be that I'm not losing any date in the way this is being done.
Using CE5.0 on an x86 platform.
Thanks for any help.
.
- References:
- Strange Registry behaviour
- From: Albert
- Strange Registry behaviour
- Prev by Date: Re: CheckUDP problem
- Next by Date: Re: CheckUDP problem
- Previous by thread: Strange Registry behaviour
- Index(es):
Relevant Pages
|