M
Mark
Hello,
I am trying tp enumerate the list of running processs on my PocketPC
phone...
This code was working just fine last night, but now this morning I an
getting an exception when calling ProcessEntry.GetProcesses(). The
text of the exception message is "Unable to create snapshot". I cannot
think of anything that might have change between last night and now to
be causing this other than its a new day full of interesting challenges
Here is the code of interest...
Any help would be greatly apreciated.
Thanks,
Mark
using System;
using System.Collections.Generic;
using System.Text;
using OpenNETCF.ToolHelp;
static void Main(string[] args)
{
ProcessEntry[] processes = ProcessEntry.GetProcesses();
foreach (ProcessEntry p in processes)
{
...
}
I am trying tp enumerate the list of running processs on my PocketPC
phone...
This code was working just fine last night, but now this morning I an
getting an exception when calling ProcessEntry.GetProcesses(). The
text of the exception message is "Unable to create snapshot". I cannot
think of anything that might have change between last night and now to
be causing this other than its a new day full of interesting challenges
Here is the code of interest...
Any help would be greatly apreciated.
Thanks,
Mark
using System;
using System.Collections.Generic;
using System.Text;
using OpenNETCF.ToolHelp;
static void Main(string[] args)
{
ProcessEntry[] processes = ProcessEntry.GetProcesses();
foreach (ProcessEntry p in processes)
{
...
}