关于Microsoft TS 71-571 ,MCTS 中Windows CE 6.0下的几个考试问题解析(一)

1)You have a Windows Embedded CE run-time image that contains a custom Catalog item.

You need to verify that the Catalog item’s registry keys are in the run-time image before you developed.

What should you do?

A. Run Object Browser.

B. Review Resource View.

C. Review the reginit.ini file.

D. Review the project.bib file.

解析:

image 配置文件的总结:

所有的配置文件,在最后都会组合成如下的几个文件,如所有的REG文件会组合成REGINIT.INI文件。

clip_image001

 

 

 

2)You develop a new application.

You need to add the new application to the Catalog.

What should you do?

A. Clone an existing Catalog item.

B. Create a new subproject in the OS design.

C. Create a new Catalog file. Place the Catalog file in the %_WINCEROOT%/public/common/catalog.

Package the application as a cabinet(.cab) file. Place the .cab file in the %_WINCEROOT%/public/common/catalog

解析:如果是想把应用程序当作一个new catalog item 进行添加的话。可以在%_WINCEROOT%/public/common/catalog下进行添加。

 

 

 

 

3)You have an OS design for a target hardware platform that does not use battery-backed Registry.

You need to preserve the registry data in a custom location on the block storage device.

Which should you do?

A. Add the Hive-based Registry Catalog item and modify platform.bib.

B. Add the Hive-based Registry Catalog item and modify platform.reg.

C. Add the RAM-based Registry Catalog item and modify platform.bib.

D. Add the RAM-based Registry Catalog item and modify platform.reg.

解析:在WinCE中支持两种类型的注册表:RAM-Based和HIVE-Based,默认情况下使用的是RAM-Based注册表

RAM-Based注册表 :RAM-Based的注册表是将所有的注册表数据存储在对象存储(object store)中,也就是存放在RAM里面。一般用在有电池备份RAM的系统上面,也就是说,当系统掉电以后,会自动切换成电池供电,此时RAM还有供电,所以上面的数据不会丢失,这样采用RAM-Based注册表非常有效。RAM-Based注册表多用于经常热启动(Warm Boot)的设备上面,很少用在冷启动(Cold Boot)设备上面。

HIVE-Based注册表:HIVE-Based的注册表是将注册表数据存成文件,也就是存在掉电不会丢失数据的磁盘上面,HIVE注册表被分成两部分:系统Hive和用户Hive,也就是system.hv和user.hv。在一个多用户系统中,会包含多个用户Hive,不同的用户Hive(user.hv)会在该用户登陆的时候被加载,被注销的时候卸载。

HIVE-Based注册表实现:

(1) 添加HIVE-Based注册表项

在系统中支持HIVE-Based注册表要在”Catalog Item View”中选择”Core OS”->”CEBASE”->”File System and Data Store”->”Registry Storage”->”Hive-based registry”。

(2) 在platform.reg里面修改配置文档,添加HIVE注释标签。分别在如下的键值进行修改:

[HKEY_LOCAL_MACHINE/init/BootVars]

[HKEY_LOCAL_MACHINE/Drivers/BuiltIn/]

[HKEY_LOCAL_MACHINE/System/StorageManager/Profiles/]

具体如何配置,比较复杂,可参考MSDN.

 

4)You need to manually clone a Catalog item.

You copy the Catalog item files into the OS design.

Which should you do before you merge the SOURCE files?

A. At the command prompt, run sysgen.bat.

B. At the command prompt, run sysgen_capture.bat.

C. From Microsoft Visual Studio 2005, modify the Build Options of the OS design.

D. From Microsoft Visual Studio 2005, run the Import and Export Setting Wizard.

 

解析:对于手动进行复制Catalog item的动作,此时的catalog发生了变化,所以需要运行sysgen_capture.dat。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值