Correct. Creating files and depending on your program to delete them, on
exit, is a recipe for disaster. This only works with file locking, and even
then, it depends on the network OS to release the lock, when the program
exits (doesn't always happen, depending on the network, and a combination of
other factors). -Jim

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lynch,
Jonathan
Sent: Wednesday, July 20, 2005 3:19 AM
To: How to use Revolution
Subject: RE: External for running one instance on windows


This would only work if the program deletes that file before it closes -
right?

But, if the program crashes or the power gets cut off and the file is
not deleted, then the next time the program opens, the file will still
be there, and the program will think it is already running, when it
isn't.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Sent: Tuesday, July 19, 2005 2:35 PM
To: How to use Revolution
Subject: Re: External for running one instance on windows

There is another way to check if an instance is running
that will work on all OS. When you start the program you
create a file if it is not already there. If it is there
then you close the program.

I hope this helps.

Sincerely, Matt
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to