V
VicToro
Hi,
I am running a background process (Console App) on a WM5 Pocket PC.
I'd like to have just one instance of the process running at the same
time. Something as giving the main method the property to be Static
Thread or looking if the Process is unique.
Since STAThread directive is not used (whereas MTAThread is used) and
the class System.Diagnostic.Process does not have the method
GetProcesses, I cannot find the way to keep the process unique on the
device.
Any suggestion?
Cheers,
Victor
I am running a background process (Console App) on a WM5 Pocket PC.
I'd like to have just one instance of the process running at the same
time. Something as giving the main method the property to be Static
Thread or looking if the Process is unique.
Since STAThread directive is not used (whereas MTAThread is used) and
the class System.Diagnostic.Process does not have the method
GetProcesses, I cannot find the way to keep the process unique on the
device.
Any suggestion?
Cheers,
Victor