替换 Windows CE 的桌面
Thursday, March 13th, 2008- 将自己写的程序拷贝到生成平台目录,如:拷贝 Myshell.exe 到
D:\WINCE500\PBWorkspaces\SHELL_demo\RelDir\Emulator_x86_Release 下 - 修改 bib 文件,使程序加入到 最后生成的 bin中
- Platform Builder 5.0 下点击菜单 “Build OS” -> “Open Release Directory”,在弹出的 console 中 输入:
notepad shell.reg
也就是用记事本打开D:\WINCE500\PBWorkspaces\SHELL_demo\RelDir\Emulator_x86_Release 下的shell.reg 文件,进行编辑
- 编辑下面的一行,把 explorer.exe 修改成自己添加的程序。
即把 - 保存 shell.reg 文件,回到 pb5,点击菜单
“Build OS” -> “Make Run-Time Image”,即重新生成镜像文件,然后下载到模拟器或设
备,这样就启动了自己的MyShell.exe,而没有桌面,任务栏等等
[HKEY_LOCAL_MACHINEinit] "Launch50"="explorer.exe" "Depend50"=hex:14,00, 1e,00
改为:
[HKEY_LOCAL_MACHINEinit] "Launch50"="MyShell.exe" "Depend50"=hex:14,00, 1e,00
注意:1) MyShell 不能关闭,一点击退出按钮或菜单,就会死掉…
by Zhanghu
2007/04/26

