Archives

Posts Tagged ‘Mutex’

How-To: Limit an application to one instance in C++

October 26th, 2009 Leave a Comment

Limiting an application to one instance can be a very important feature. We won’t want to have multiple Windows Live Messengers running at the same time. That applies to our chatting applications or any related applications that need this feature. In this post, we look at how to write a simple class to limit the application to one instance only in C++.

Read More...