Page 1 of 1

Check if a stack is loaded at runtime

Posted: Wed Dec 02, 2009 11:10 am
by ale870
Hello,

I have a problem: I cannot find a way to determine if a stack is loaded in memory at runtime (not in the development environment).
All functions I found can be used only in dev environment (the openFiles, revLoadedStacks).

I open a stack from another stack, then I need to close (and remove from memory) the first stack: so I need to check if the first stack was correctly removed.

Can you help me?

Thank you!

Re: Check if a stack is loaded at runtime

Posted: Wed Dec 02, 2009 12:11 pm
by Klaus
Hi ale870,

"the openstacks" works fine for me in my runtimes.


Best

Klaus

Re: Check if a stack is loaded at runtime

Posted: Wed Dec 02, 2009 12:26 pm
by malte
revLoadedStacks also works in a standalone. The openstacks will return something only if the stack is really open (in other words has a window). You can also check

there is a stack "yourStackNameHere"

Hope that helps,

Malte

Re: Check if a stack is loaded at runtime

Posted: Thu Dec 03, 2009 2:17 pm
by ale870
I tried both of them, executing them in a standalone executable, but it seems they return empty lists.
i will make more tests.
Thank you!