Windows Compact Embedded 7 AutoStart应用程序

编程入门 行业动态 更新时间:2024-10-11 21:25:14
本文介绍了Windows Compact Embedded 7 AutoStart应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨!

一年前我开始使用Windows CE 6.0,我已经制作了一些应用程序,应用程序启动它们自我并使用"无shell" ; WinCE的。然后我得到了新的Windows Embedded Compact 7操作系统并试图做同样的事情,但我遇到了问题。

One year ago I started working with Windows CE 6.0, I have made some applications, that applications start them selfs and work with "no shell" WinCE. Then I got the new Windows Embedded Compact 7 OS and tryed to make the same but I got a problem.

我认为我可以像在WinCE 6.0中一样使用它:

I tought that I can make it the same way like in WinCE 6.0 :

1。使用CEFileWiz添加我的应用程序

1. Add my App with CEFileWiz

2。将此添加到我的PROJECT.reg

2. Add this to my PROJECT.reg

[HKEY_LOCAL_MACHINE \ init] "LaunchXX"=" app.exe" "DependXX"= hex:14,00,1E,00

[HKEY_LOCAL_MACHINE\init] "LaunchXX"="app.exe" "DependXX"=hex:14,00,1E,00

3。将此添加到我的PROJECT.dat

3. Add this to my PROJECT.dat

root:-Directory(" \"): - 目录("启动") 目录(" ; \Startup"):文件(" app.exe"," \ Windows \ app.exe")

root:-Directory("\"):-Directory("Startup") Directory("\Startup"):File("app.exe","\Windows\app.exe")

并构建OSDesign。

And build the OSDesign.

现在,当我在CE 7 OSDesign中尝试这个并启动我的NK.bin时,只有一个黑屏,但是当我添加一个shell时通过命令提示符启动应用程序,它可以工作。

And now, when I try this in my CE 7 OSDesign and start my NK.bin there is just a black screen, but when I add a shell and start the application through Command Prompt, it works.

请问,有人知道我做错了什么吗?

Please, does anyone know what I'm doing wrong?

问候Petar Zovko。

Regards Petar Zovko.

推荐答案

[HKEY_LOCAL_MACHINE \ init] "LaunchXX"=" app.exe" "DependXX"= hex:14,00,1E,00

[HKEY_LOCAL_MACHINE\init] "LaunchXX"="app.exe" "DependXX"=hex:14,00,1E,00

首先,XX应该用数字代替。

First, XX should be replaced with numbers.

其次,您不需要project.dat条目。如果您使用Init键启动它,则无需将其复制到启动文件夹。

Second, you don't need the project.dat entry. No need to copy it to the startup folder if you start it with the Init key.

我们可以认为自CE 6.0以来您没有更改应用程序吗?  ;您是否验证过应用程序和注册表设置是否在操作系统中?

Is it safe for us to assume that you haven't changed the application any since CE 6.0? Have you verifited that the app and registry settings are in the OS?

更多推荐

Windows Compact Embedded 7 AutoStart应用程序

本文发布于:2023-11-11 08:57:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1577955.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   Compact   Windows   AutoStart   Embedded

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!