Multiple startup
-
Hi, I've build an application but it isn't suppose to startup more than once. How do I prevent my application to startup more than once?? Kevin
-
Hi, I've build an application but it isn't suppose to startup more than once. How do I prevent my application to startup more than once?? Kevin
-
There are countless articles on CodeProject providing solutions to your problem.
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)Hi, actually none of those "solutions" do what the OP asks. At best they make the second instance die rapidly, but they don't prevent it from starting up. :)
Luc Pattyn [Forum Guidelines] [My Articles]
Voting for dummies? No thanks. X|
-
Hi, actually none of those "solutions" do what the OP asks. At best they make the second instance die rapidly, but they don't prevent it from starting up. :)
Luc Pattyn [Forum Guidelines] [My Articles]
Voting for dummies? No thanks. X|
From what I have seen, most are the same, and I use the same thing in my applications too: 1. Create Mutex. 2. Check Mutex, then use IPC (with Remoting) to talk and do what you need with either instance.
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)