uveper
asked on
Test if application is already running
I would like to check if there is already running an instance of program on windows mobile device, so I could prevent multiple lunches of the program.
ASKER
what do you mean "with cf.net it is done automatically by framework" ?
I tried to convert vb example to c# but I failed, because I do not fully understand the syntax.
I tried to convert vb example to c# but I failed, because I do not fully understand the syntax.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
in general, there may be different techniques, such as creating a mutex (some vb example here, but works for wince as well - http://www.mrexcel.com/forum/showthread.php?t=19425), registering your unique window class and then calling FindWindow() to check if there is such one already etc.