I am trying to use a launcher stack in LiveCode 8. I have followed the process found in http://lessons.livecode.com/m/4071/l/17 ... pplication and it works fine in LiveCode 7 but when using LiveCode 8, it gives me an error on the open stack line.
Anyone else seeing this?
Open Stack not working in LiveCode 8+
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 23
- Joined: Sun Jul 13, 2008 7:39 pm
Re: Open Stack not working in LiveCode 8+
Hi Stewart,
obviously something has changed with "the defaultfolder" in LC8!?
I NEVER EVER rely on the defaultfolder and rather create absolute pathnames if possible
and with LC and its specialfolderpath() function anything is possible.
Dou you add your "Main Application.livecode" vias the "Copy files" tab in the standalone builder settings?
If yes, then use:
...
open stack (specialfolderpath("resources") & "/Main Application.livecode")
...
Important hint:
Writing in the application folder is taboo for non-admin users, so saving that stack may fail in your application!
In that case you should copy the separate stack to the users Documents (or preferences) folder on first launch
and work and save in that folder, where we definitively have write permission!
Best
Klaus
obviously something has changed with "the defaultfolder" in LC8!?
I NEVER EVER rely on the defaultfolder and rather create absolute pathnames if possible
and with LC and its specialfolderpath() function anything is possible.

Dou you add your "Main Application.livecode" vias the "Copy files" tab in the standalone builder settings?
If yes, then use:
...
open stack (specialfolderpath("resources") & "/Main Application.livecode")
...
Important hint:
Writing in the application folder is taboo for non-admin users, so saving that stack may fail in your application!
In that case you should copy the separate stack to the users Documents (or preferences) folder on first launch
and work and save in that folder, where we definitively have write permission!
Best
Klaus