Windows Compact Embedded 7 AutoStart应用程序 [英] Windows Compact Embedded 7 AutoStart Application

查看:87
本文介绍了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应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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