Hi Kevin,
but what if windows crashes - MC has not closed - has not deleted the file -
and wouldn´t open again????

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

Regards,
          Ernst

> From: Kevin Miller <[EMAIL PROTECTED]>
> On 29/1/01 10:32 am, jbv <[EMAIL PROTECTED]> wrote:
> > But if your mc app runs from a CD-ROM, this solution might get a bit
> > tricky...
> > Why not use a global variable for each stack ? At startup you declare
the
> > variable and test its value. If the value is empty, that means the stack
opens
> This would work on the Mac, but on Windows a seperate "instance" of the
> program is run each time you double click a stack or standalone in Windows
> (unless you use DDE and the externals collection to load just one
instance).
> As these instances are completely seperate globals cannot be passed
between
> them.  So you do need to resort to using a file.  If you're using a locked
> disk such as a CD-ROM, you can save the file into the temporary directory
> (the tempname function will always return the path to a file you can write
> to).
> Regards,
> Kevin


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

Reply via email to