WinCE 6.0使用* .bat或* .exe杀死Prozess [英] WinCE 6.0 kill a Prozess with a *.bat or *.exe

查看:61
本文介绍了WinCE 6.0使用* .bat或* .exe杀死Prozess的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,是否可以使用* .bat或* .exe或类似方法在WinCE 6.0中关闭/终止进程?

Hello, is it possible to close/kill a process in WinCE 6.0 with *.bat or *.exe or similar?

进程的名称是" maptrip" 

The name of the process is "maptrip" 

ty

推荐答案

是和否。

并非所有平台都默认内置此功能,因此您可能需要编写一些代码。

Not all platforms have this function built in by default so you may have to write some code.

Windows桌面具有的许多标准命令提示功能将是从WinCE 6.0中删除,因此如果内置了使用* .bat或命令行终止进程的内容,它将是特定于设备的,您将需要询问供应商
您使用的设备。

A lot of the standard command prompt features that Windows Desktop has will have been stripped out of WinCE 6.0 so if there is something built in to kill processes using a *.bat or command line, it will be device specific, you will need to ask the supplier of the device you are using.

如果您能够为此设备编写自己的代码(* .exe),则可以使用ToolHelp API按名称搜索进程"maptrip"并获取进程句柄,然后你可以用来杀死这个过程。

If you are able to write your own code (*.exe) for this device, you can use the ToolHelp API to search for the process 'maptrip' by name and get the process handle, which then you can use to kill the process.

其中一些链接可能会有所帮助:

Some of these links may help:

http://msdn.microsoft.com/en-nz/library/aa915058.aspx

http://msdn.microsoft.com/en-nz/library/aa915058.aspx

http:/ /msdn.microsoft.com/en-us/library/aa908764.aspx

使用toolhelp api杀死进程 - MSDN - Microsoft

Kill a process using toolhelp api - MSDN - Microsoft


这篇关于WinCE 6.0使用* .bat或* .exe杀死Prozess的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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