Re: MC on Windows and the same stack opened several times

2001-01-29 Thread Kevin Miller

On 29/1/01 6:46 pm, Ernst Michael Reicher [EMAIL PROTECTED] wrote:

 but what if windows crashes - MC has not closed - has not deleted the file -
 and wouldnt open again

Thats a common problem with this type of application: the warning dialog
usually has instructions for deleting the file in that event.

 is there no function in MC to get the running apps??

Not that I know of.

Regards,

Kevin

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: MC on Windows and the same stack opened several times

2001-01-28 Thread Kevin Miller

On 28/1/01 9:25 pm, Ernst Michael Reicher [EMAIL PROTECTED] wrote:

 how to prevent that the same stack is opened several times on a Windows
 machine?
 
 As I remember that was not possible on a Mac but it is on Windows...
 
 ...how can I get the "running programs" - there was something in HC

One way you could do it (any platform) is to create a "lock file" that
prevents multiple copies being run.  The idea is simple: on loading, create
a text file in a specific place (e.g. the same directory as the stack).  On
closing, delete the file.  On startUp, if the file exists, put up an error
message that the program is already running, and exit.

Regards,

Kevin

Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.