Stack allready in memory
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Stack allready in memory
Are ask/answer windows a type of substack?
Re: Stack allready in memory
Only in a standalone!
In that case LC makes them substacks of the runtime-stack.
In that case LC makes them substacks of the runtime-stack.
Re: Stack allready in memory
I will posit a scenario where the OP has the two individually named stacks in the Community Edition v 9.x.x and realised that he cannot password protect them when building a standalone.
Then the OP opened the older Rev Studio 4.0 IDE to make the standalone build with password protection, but either he or the Community IDE somehow failed to close and remove from memory. (I have seen occasions where the visible windows disappear but the running task list still shows LiveCode running.)
I don't know how plausible this scenario is (I think it might be expected that each version of the IDE opens as its own instance so could have the stacks concurrently open. On the other hand, if one IDE marks the stacks as open, then the other might call foul. I haven't been able to test.)
Then the OP opened the older Rev Studio 4.0 IDE to make the standalone build with password protection, but either he or the Community IDE somehow failed to close and remove from memory. (I have seen occasions where the visible windows disappear but the running task list still shows LiveCode running.)
I don't know how plausible this scenario is (I think it might be expected that each version of the IDE opens as its own instance so could have the stacks concurrently open. On the other hand, if one IDE marks the stacks as open, then the other might call foul. I haven't been able to test.)
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Stack allready in memory
Does building a standalone ONLY make ask/answer windows substacks in the standalones that are hived off the source stack, or does it make them substacks of the source stack BEFORE it hives off the standalones?Only in a standalone!
In that case LC makes them substacks of the runtime-stack.
Because if the second situation is what happens that could make things a bit difficult if the programmer then subsequently opens the source stack for further editing.
Re: Stack allready in memory
LC creates a COPY of the runtime stack in the TEMP folder and turns that one into a standalone,richmond62 wrote: ↑Mon Jan 08, 2024 8:35 pmDoes building a standalone ONLY make ask/answer windows substacks in the standalones that are hived off the source stack, or does it make them substacks of the source stack BEFORE it hives off the standalones?Only in a standalone!
In that case LC makes them substacks of the runtime-stack.
Because if the second situation is what happens that could make things a bit difficult if the programmer then subsequently opens the source stack for further editing.
including making the ASK/Answer dialogs substacks of that namely stack.
So the initial stack remains "untouched".
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Stack allready in memory
Thanks Klaus, although brings us no nearer to an answer.