[Mono-list] single instance (mutex)

ingemar ingemar.pertl at kapsch.net
Wed Aug 24 10:15:42 EDT 2011


hi!

my problem is that i want a single instance from my win forms application.
it works without problem using mutex in windows, but unfortunately not with
mono.

i found a possible solution in that forum:

http://go-mono.com/forums/#nabble-td1493856
.....
It's a slight difference in behaviour that will be fixed eventually when 
I have time.  If you really need to ensure only one instance is running, 
try calling mutex.WaitOne(0, false) and checking the return value. 

- Dick

but that does not solve my problem.

i'm grateful for any help!

regards,
ingemar

--
View this message in context: http://mono.1490590.n4.nabble.com/single-instance-mutex-tp3765451p3765451.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list