+ 1
How to allow one instance of exe
Hi I have an application which need to have only one instance of the application active at a time. What to do when we have to restrict one instance of exe is active?
5 Answers
+ 2
I have done this in Windows via system API calls to get the list of running windows and see if your window title is in the list. I always felt that it needed to be more reliable than using the Title property, but it was the best idea I could find. It solved the problem and there were no reports that indicated otherwise.
+ 2
..
+ 1
I was also wondering about that, but it's os specific, it seems.