注册表和Windows CE 6 R3 [英] Registry and Windows CE 6 R3

查看:127
本文介绍了注册表和Windows CE 6 R3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有一个 小问题

the注册表

wince < span title ="Cliquer ici pour voir d'autres traductions">
6 R3。


请注意,我
'm
in
a
configuration
"
Hive
-
基于
"


On
我们的设备
running
wince
6
R3

有时
用户

更改
注册表


save
重播
device
按键
always
保留

它的
期望的行为


存储

file

think


但如果我闪一个我在其中修改了platform.reg的新nk.bin,然后缺少所有密钥注册表(之前由用户添加)。


我们有注册表的初始配置。


所以我只是想知道,如果这是正常的行为?


特别是,有吗在更新 之后失去任何东西的方法nk.bin?


谢谢


问候,


SL


 


 


 

解决方案

这是正常行为。 
CE使用持久化配置单元存储OS ROM映像的MD5哈希值,如果在后续引导时检测到ROM映像已更改,则会清除配置单元。 
如果您的OAL实施的OEMIoControl功能支持
IOCTL_HAL_GET_HIVE_CLEAN_FLAG   并返回TRUE。


如果CE无法擦除蜂巢,则无法阻止CE ROM更改。 
这是一种安全机制,可确保操作系统映像与注册表之间的兼容性。 
如果需要保存一些特定的注册表数据,可以创建一个应用程序,将信息保存在持久文件系统上的文件中,并在引导时根据需要恢复该信息。
< /跨度>


Hello,

I have a small problem on the registry in wince 6 R3.

Note that I 'm in a configuration " Hive - based "

On our devices running wince 6 R3 , sometimes the user changes the keys in the registry .

After save, and resatrting the device, the keys are always kept , and it's desired behavior ! ( stored in the file system.hv , I think )

But If i flash a new nk.bin in which I modified the platform.reg, then all the key registry ( adding previously by users ) are missing .

We have the initial configuration of the registry.

So i just wanted to know , if it's a normal behavior ?

Especially, is there a way to lose nothing after an update of  the nk.bin ?

Thanks

Regards,

S.L

 

 

 

解决方案

This is normal behavior.  CE stores an MD5 hash of the OS ROM image with the persisted hive, and if on a subsequent boot it detects that the ROM image has changed, the hive is wiped clean.  The hive can also be wiped clean if your OAL's implementation of the OEMIoControl function supports the IOCTL_HAL_GET_HIVE_CLEAN_FLAG  and returns TRUE.

You cannot prevent CE from wiping the hive if the ROM changes.  This is a safety mechanism to insure compatibility between the OS image and the registry.  If you need to save some specific registry data, you could create an application that persists the information in a file on a persisted file system and restore that information at boot time as need.


这篇关于注册表和Windows CE 6 R3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆