How can I reference ProcessInfo's members and ProcessCE in my Windows CE util?
问题 I found this code from CathalMF here: ProcessInfo[] list = ProcessCE.GetProcesses(); foreach (ProcessInfo pinfo in list) { if (pinfo.FullPath.EndsWith("MyExe.exe")) pinfo.Kill(); } ...and modified it to my ends (no pun intended) like so: ProcessInfo[] list = ProcessCE.GetProcesses(); foreach (ProcessInfo pinfo in list) { if (pinfo.FullPath.EndsWith("HHS.exe")) pinfo.Kill(); // This should work, too, eh? if (pinfo.FullPath.EndsWith("HUtilCE.dll")) pinfo.Kill(); } ...but several things are