> check for existing temp file, create temp file [no temp races, please]
> copy stack to temp file
> use temp file
> on quit:
> exec copy-back-stack
> NuCard is now no longer running; copy-back-stack is
> copy back the temp file
> exit
Anthony,
you're talking about a hack like SuperCard's "Bridger" application, right?
A program that is started when OpenCard quits and then copies back the
stack? Well, basically I like this, although it's a rather crude hack. But
the temp file should still only override existing blocks. This way we don't
have to copy the whole stack into the standalone, but only the parts that
actually changed. Else we'll get a major slowdown.
>You can do it on the Mac -- I think Scott's just scared of messing up and
>destroying the executable, crashing the mac, and making the user unhappy.
No! You didn't read what I wrote. Go re-read it. Bad boy. <g>
Let me re-phrase that: It isn't possible on Windows, and at least some
Unixes. Scott had two options: Allow it on the platforms that support it
and don't allow it on platforms that don't, thus creating differences
between MC versions on different platforms, or make all standalones
read-only, thus keeping MC consistent across all platforms but not
providing this feature to Mac users and others that could've had it.
He chose the second. We could use the third, which is adding a crude hack
to work around this problem. I like crude hacks! :-)
Cheers,
-- M. Uli Kusterer
------------------------------------------------------------
http://www.weblayout.com/witness
'The Witnesses of TeachText are everywhere...'
--- HELP SAVE HYPERCARD: ---
Details at: http://www.hyperactivesw.com/SaveHC.html
Sign: http://www.giguere.uqam.ca/petition/hcpetition.html