Click here to Skip to main content
15,889,403 members
Articles / Desktop Programming / Win32

How to avoid multiple instances of your Windows application

Rate me:
Please Sign up or sign in to vote.
4.67/5 (3 votes)
27 Jan 2011CPOL 9.7K   4  
Solution II used to use following simple way to manage the single instance of the app.//Usually I append the UID to the application name to achieve the unique object name.TCHAR szAppName[] = _T("Application_Name_999e7ba3-e8fc-4c21-985b-ab11f39ce759");HANDLE hMutex =...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
India India
Hello All !
This is Mallinath S. Karkanti, from India. I'm working as a Software Developer in one of the Middle Scale Company... !

Comments and Discussions