如何使所有进程在.net cf中运行 [英] How to get all processes running in .net cf
本文介绍了如何使所有进程在.net cf中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从我的应用程序中获取Windows Mobile 6.5中所有正在运行的应用程序的列表。
I want to get a list of all running application in my windows mobile 6.5 from my application.
有人可以告诉我如何针对CF进行此操作吗?
Can anyone tell me how to do this for CF??
推荐答案
您必须P /调用工具帮助API 。曾经有一篇MSDN文章对此进行了介绍(将其全部张贴在此处有点长,尽管也许这是个更好的主意?)。它的要旨也可以在Github上的 SDF源代码中找到。
You have to P/Invoke the toolhelp APIs. There used to be an MSDN article that covered this (it's a bit long to put it all into a post here, though maybe that's a better idea?). The gist of it can also be found in the SDF source code over on Github.
这篇关于如何使所有进程在.net cf中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文