WinCE 開機自動執行程式

2021-04-20 18:51:49 字數 639 閱讀 7911

s1、 將應用程式和應用程式快捷方式新增到映像裡,再將快捷方式新增到startup目錄下,這樣當系統執行後應用程式就能自動執行;

s2、 直接替換wince的shell,即修改登錄檔:

[hkey_local_machine/init]

"launch50"="explorer.exe"

"depend50"=hex:14,00, 1e,00

可以設定啟動順序和依賴程式。

while(icount--)

檔案的名稱和路徑由命令列引數指定:
shexeinfo.lpfile=lpcmdline;
shellexe.exe f:/wince420/pbworkspaces/lioetenter/reldir/shellexe.exe nk s

autorun.lnk f:/wince420/pbworkspaces/lioetenter/reldir/autorun.lnk nk s

注意:shellexe.exe的屬性不能帶h(隱藏).

4、 在project.dat裡加入如下內容:

directory("/windows/startup"):-file("autorun.lnk","/windows/autorun.lnk")

WinCE 開機自動執行程式

s1 將應用程式和應用程式快捷方式新增到映像裡,再將快捷方式新增到startup目錄下,這樣當系統執行後應用程式就能自動執行 s2 直接替換wince的shell,即修改登錄檔 hkey local machine init launch50 explorer.exe depend50 hex 14...

WINCE開機自動執行指定程式

wince開始預設是執行explorer.exe,是在shell.reg中設定的 hkey local machine init launch50 explorer.exe depend50 hex 14,00,1e,00 因此只要在platform.reg或者project.reg中做類似的更改就...

開機自動執行程式 配置網絡卡

在 etc rc.local,增加你需要執行的程式和一些初始化的配置資訊 開機配置網絡卡 ifconfig eth0 192.168.23.129 netmask 255.255.255.0 up 或者 修改vim etc sysconfig network scripts ifcfg eth0 d...