Main stack and substack order in the message path
jim at visitrieve.com
Fri Feb 27 13:12:00 CST 2009
Thanks Mark, Scott, and Bob
Scott, that's the trick. A combination of StacksInUse and reissuing a *start
using* revises the order. So, if the correct stack is not first in
StackInUse, then a start using will put it there.
Aloha from Hawaii
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] On Behalf Of Scott Rossi
> Sent: Friday, February 27, 2009 8:21 AM
> To: Revolution Mail List
> Subject: Re: Main stack and substack order in the message path
> Recently, Jim Bufalini wrote:
> >> The workaround might be to have stack A call "start using stack ABC"
> >> (and
> >> the same with the other stack) to make sure the substack is used
> >> when
> >> necessary.
> > This is done and it is actually the problem.
> > I actually discovered this in two ways working on an update for
> > When you first install a ListMagic widget into your project,
> > clones its lib, renames it, and places the renamed lib stack as a
> > of the main stack of your project and adds a start using statement to
> > project's main stack's preOpenStack.
> > When a new version of ListMagic comes out, and you add a new widget,
> > modify an existing widget in a project, ListMagic checks, and if it
> > that it is a newer version than the one you have in your project, it
> > for permission to update the lib in your project and all widgets.
> > But, if you don't do either and just have your project and ListMagic
> > at the same time in the IDE, then it is possible to have two
> > version libs running at the same time and there is no way to control
> if a
> > user has launched their project first or ListMagic.
> > Or, for that matter, two of their own projects, where one has been
> > to the latest lib and one has not. Which one did they launch first?
> Perhaps I didn't explain the above well enough, or maybe I'm not
> interpreting your situation accurately, but what I meant was, you call
> "start using stack ABC" *EVERY TIME* you need to reference the library
> of a
> specific stack, not just at startup. This (should) ensure that the
> you need is the first one to be accessed. I do this with certain
> frontscripts that I need to be "really" in front at all times. If
> doing this already, then I don't have any alternate suggestions other
> to reconsider your update strategy.
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode