扩展多个字符串的SystemPath密钥 [英] Extending SystemPath key for multiple strings

查看:80
本文介绍了扩展多个字符串的SystemPath密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我试图扩展DLL路径以包括多个闪存分区。在Windows CE 6.0 RC 2上的platform.reg中尝试过此。

  Am trying to extend the DLL path to include multiple flash partitions. Tried this in platform.reg on Windows CE 6.0 RC 2.



HKEY_LOCAL_MACHINE \ Loader]

 "SystemPath" ; = multi_sz:" \\Windows"," \\NV5FLASH"," \\Flash" 


HKEY_LOCAL_MACHINE\Loader]
 "SystemPath"=multi_sz:"\\Windows","\\NV5FLASH","\\Flash" 



 将图像下载到我的设备,Regedit仅显示"\ Windows"。在设备上的SystemPath密钥中。在第一个","之后的任何东西。被截断并作为注册表项的一部分被忽略。有没有人使用多个字符串路径名这个密钥
的工作示例我可以包含在platform.reg中。

        ;   任何帮助表示赞赏

                Greg White


 Downloaded the image to my device and Regedit reveals only "\Windows" in SystemPath key on the device. Anything after the first "," is truncated and ignored as part of the registry key. Does anyone have a working example of this key using more than one string path name that I can include in platform.reg.
           Any help appreciated
                Greg White

推荐答案

有很多种可能性。 首先,请确保您的帖子中的[HKEY_LOCAL_MACHINE \ Loader]中缺少的左括号'[' - 确实存在于您的Platform.reg文件中。 确保您正在编辑正确的Platform.reg文件
- BSP的Files文件夹中的文件。 确保这是设置SystemPath的最后一个位置 - 您可以在发布目录中搜索MAKEIMG期间构建的REGINIT.INI文件以查找所有出现的内容,并确保将最后一个设置为您想要的值
。  ;确保您至少执行"Build and Sysgen Current BSP"和"Build and Sysgen Current BSP"。进行更改后,转到Platform.reg 并且操作系统映像构建没有错误。 最后,您可以将生成的NK.BIN加载到Platform Builder中并查看
注册表以确保按预期设置SystemPath。 如果不是,请查看上述步骤,直到找到问题为止。

There are a number of possibilities.  First, make sure the left bracket '[' - that is missing from [HKEY_LOCAL_MACHINE\Loader] in your post - is really there in your Platform.reg file.  Make sure you're editing the correct Platform.reg file - the one in you BSP's Files folder.  Make sure this is the last place where SystemPath is set - you can search the REGINIT.INI file built during MAKEIMG in your release directory for all occurences and make sure that the last one is set to the value you want.  Make sure you perform, at minimum, a "Build and Sysgen Current BSP" after making the change, to Platform.reg and that the OS image builds without error.  Finally, you can load the resulting NK.BIN into Platform Builder and view the registry to make sure the SystemPath is set as you expect it.  If it isn't, review the steps above until you find the problem.


这篇关于扩展多个字符串的SystemPath密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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