Allow only one single process of a Exe

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Guess it all depends what you are doing. If your app is using Mutex and does
> crash, you are able to see if the program has crashed when you start the
> program again because the Mutex tells your app that it has been abandone.

Interesting... this has many possibilities.

> You seem to be under the assumption that all these mutex processes are
> running in the background if something crashes.

True: I don't know how they work. But looking at Franco's example, I thought
that was how they worked? His example opened one, ran his app, then closed
the Mutex when his app ended, so I naturally thought it was some runtime type
of thing.

> ps. Just curious where you are located that you only have access to 6 search
> engines? There are actually many hundreds out there :)

I'm in Australia, but I used several major worldwide engines for that search, as
you saw. Am I supposed to check many hundreds of sites to find PBToolBox? If
the major sites (Google, Yahoo, AltaVista) don't list it, then it can't be that
popular/well-known. You still haven't said which engine found it for you...


PB - Registered PureBasic Coder

Edited by - PB on 14 May 2002 08:18:35
Post Reply