You can only have one dessert.

Published 31 January 09 12:42 PM | Coding4Fun 

crazy-street-signs DevZoo has created a sample on how to make your application single instance only.  DevZoo’s example also includes some neat features like finding the current instance and activating it along with if the instance is in the system tray, to maximize it!

DevZoo uses what is known as a Mutex to pull off the single instance.  A mutex can span system wide to help provide resource management along with threading.  If you want to find out more, check out the wikipedia article on mutual exclusions.

Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

Search

This Blog

Syndication

Page view tracker