How to get all processes running in .net cf
I want to get a list of all running application in my windows mobi开发者_运维问答le 6.5 from my application.
Can anyone tell me how to do this for CF??
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.
精彩评论