<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Hu's Blog</title>
	<link>http://www.zhanghu.org</link>
	<description>Just a blog</description>
	<pubDate>Wed, 23 Apr 2008 03:59:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>
	<language>en</language>
			<item>
		<title>替换 Windows CE 的桌面</title>
		<link>http://www.zhanghu.org/2008/03/13/replace-wince-explorer-with-my-shell/</link>
		<comments>http://www.zhanghu.org/2008/03/13/replace-wince-explorer-with-my-shell/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 06:01:14 +0000</pubDate>
		<dc:creator>Hu</dc:creator>
		
		<category><![CDATA[Windows CE]]></category>
<category>WinCE</category>
		<guid isPermaLink="false">http://www.zhanghu.org/2008/03/13/replace-wince-explorer-with-my-shell/</guid>
		<description><![CDATA[
将自己写的程序拷贝到生成平台目录，如：拷贝 Myshell.exe 到
D:\WINCE500\PBWorkspaces\SHELL_demo\RelDir\Emulator_x86_Release 下
修改 bib 文件，使程序加入到 最后生成的 bin中
Platform Builder 5.0 下点击菜单 &#8220;Build OS&#8221; -&#62; &#8220;Open Release Directory&#8221;，在弹出的 console 中 输入:

notepad shell.reg

也就是用记事本打开D:\WINCE500\PBWorkspaces\SHELL_demo\RelDir\Emulator_x86_Release 下的shell.reg 文件，进行编辑
编辑下面的一行，把 explorer.exe 修改成自己添加的程序。
即把

[HKEY_LOCAL_MACHINEinit]
&#160;
&#34;Launch50&#34;=&#34;explorer.exe&#34;
&#160;
&#34;Depend50&#34;=hex:14,00, 1e,00

改为:

[HKEY_LOCAL_MACHINEinit]
&#160;
&#34;Launch50&#34;=&#34;MyShell.exe&#34;
&#160;
&#34;Depend50&#34;=hex:14,00, 1e,00

保存 shell.reg 文件，回到 pb5，点击菜单
&#8220;Build OS&#8221; -&#62; &#8220;Make Run-Time Image&#8221;，即重新生成镜像文件，然后下载到模拟器或设
备，这样就启动了自己的MyShell.exe，而没有桌面，任务栏等等

注意：1) MyShell 不能关闭，一点击退出按钮或菜单，就会死掉&#8230;
by  Zhanghu
2007/04/26
]]></description>
			<content:encoded><![CDATA[<ol>
<li>将自己写的程序拷贝到生成平台目录，如：拷贝 Myshell.exe 到<br />
D:\WINCE500\PBWorkspaces\SHELL_demo\RelDir\Emulator_x86_Release 下</li>
<li>修改 bib 文件，使程序加入到 最后生成的 bin中</li>
<li>Platform Builder 5.0 下点击菜单 &#8220;Build OS&#8221; -&gt; &#8220;Open Release Directory&#8221;，在弹出的 console 中 输入:

<div class="wp_syntax"><div class="code"><pre>notepad shell.reg</pre></div></div>

<p>也就是用记事本打开D:\WINCE500\PBWorkspaces\SHELL_demo\RelDir\Emulator_x86_Release 下的shell.reg 文件，进行编辑</li>
<li>编辑下面的一行，把 explorer.exe 修改成自己添加的程序。<br />
即把</li>

<div class="wp_syntax"><div class="code"><pre>[HKEY_LOCAL_MACHINEinit]
&nbsp;
&quot;Launch50&quot;=&quot;explorer.exe&quot;
&nbsp;
&quot;Depend50&quot;=hex:14,00, 1e,00</pre></div></div>

<p>改为:</p>

<div class="wp_syntax"><div class="code"><pre>[HKEY_LOCAL_MACHINEinit]
&nbsp;
&quot;Launch50&quot;=&quot;MyShell.exe&quot;
&nbsp;
&quot;Depend50&quot;=hex:14,00, 1e,00</pre></div></div>

<li>保存 shell.reg 文件，回到 pb5，点击菜单<br />
&#8220;Build OS&#8221; -&gt; &#8220;Make Run-Time Image&#8221;，即重新生成镜像文件，然后下载到模拟器或设<br />
备，这样就启动了自己的MyShell.exe，而没有桌面，任务栏等等</li>
</ol>
<p>注意：1) MyShell 不能关闭，一点击退出按钮或菜单，就会死掉&#8230;</p>
<p>by  Zhanghu<br />
2007/04/26</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhanghu.org/2008/03/13/replace-wince-explorer-with-my-shell/feed/</wfw:commentRss>
		</item>
		<item>
		<title>nk.bin 与 nk.nb0 的区别</title>
		<link>http://www.zhanghu.org/2008/03/10/diff-between-nkbin-nknb0/</link>
		<comments>http://www.zhanghu.org/2008/03/10/diff-between-nkbin-nknb0/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 02:00:07 +0000</pubDate>
		<dc:creator>Hu</dc:creator>
		
		<category><![CDATA[Windows CE]]></category>
<category>WinCE</category>
		<guid isPermaLink="false">http://www.zhanghu.org/2008/03/10/diff-between-nkbin-nknb0/</guid>
		<description><![CDATA[http://msdn.microsoft.com/chats/transcripts/mobileembedded/06_1129_msdn_wince.aspx
David Kelley [MS] (Expert):
Q:  Which is the difference between the nk.nb0 and nk.bin image created by PB5.0?
A:  .nb0 files is a raw file format suitable for flashing ROM via a ROM programmer while the .bin file is a MS format we use to download images to the device via the bootloader. In the [...]]]></description>
			<content:encoded><![CDATA[<p>http://msdn.microsoft.com/chats/transcripts/mobileembedded/06_1129_msdn_wince.aspx</p>
<p><font color="#0000ff"><strong>David Kelley [MS] (Expert):</strong></font><br />
<strong>Q: </strong> Which is the difference between the nk.nb0 and nk.bin image created by PB5.0?<br />
<strong>A: </strong> .nb0 files is a raw file format suitable for flashing ROM via a ROM programmer while the .bin file is a MS format we use to download images to the device via the bootloader. In the end, same information, different formats.</p>
<p>要产生NK.NBx文件，你必须在Config.bib中设置ROMSIZE参数。<br />
如ROMSIZE＝02000000，设置NK.NB0的大小为32M，若Image的大小超过32M，则还会产生NK.NB1，NK.NB2……</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhanghu.org/2008/03/10/diff-between-nkbin-nknb0/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
