Click here to get back home

How to ensure that only one instance of application runs on pocket

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to ensure that only one instance of application runs on pocket vjsharma_27 05-25-2007
Get Chitika Premium
Posted by vjsharma_27 on May 25, 2007, 12:59 am
Please log in for more thread options
How to ensure that only one instance of an application is running on pocket
pc? Give me both example for c++ application and C# application.

Posted by Amit on May 25, 2007, 3:09 am
Please log in for more thread options
You can create a named mutex at the start of the application.check for the
Getlasterror value,if it is ERROR_ALREADY_EXIXTS then another instance of
your application is running.You can then bring the running instance on the
foregroud and then exit
--
Thanks and Regards
Amit Ranjan
blog:http://amitranjan.wordpress.com


"vjsharma_27" wrote:

> How to ensure that only one instance of an application is running on pocket
> pc? Give me both example for c++ application and C# application.

Similar ThreadsPosted
About the application which runs on smartphones March 20, 2006, 2:29 am
single instance application March 22, 2006, 11:43 pm
How to detect the alreayd running instance f any application August 23, 2006, 1:32 am
Re: How to detect the alreayd running instance f any application August 23, 2006, 3:06 am
can a C# application wake up a Pocket PC device? June 19, 2008, 11:21 am
Application compatibility between smartphone and pocket pc August 22, 2008, 4:21 am
memory usage limit in any pocket pc application July 24, 2005, 10:09 pm
porting application from Pocket PC Phone Edition to Smartphome May 5, 2006, 3:09 am
How to monitor battery life in a C# pocket pc device application June 18, 2008, 3:52 pm
How to open a Pocket Outlook item from Pocket IE February 13, 2008, 2:10 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap