Problme after creating a standalone app

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

Problme after creating a standalone app

Post by phaworth » Tue Feb 09, 2010 2:02 am

I have a number of scripts that I insert as front scripts when my app starts up. After creating a standalone app, these scripts are no longer recognized (get can't find handler error) in the dev environment until I restart rev.

Not a big deal but is this expected behaviour?

Pete

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Re: Problme after creating a standalone app

Post by Janschenkel » Tue Feb 09, 2010 12:02 pm

Well, building a standalone will unload your stack completely, and reload it - thus the frontscripts/backscripts are unloaded, but unfortunately not automagicfally reloaded. One option is to handle the standaloneSaved message to insert the scripts again into the message path.

HTH,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

Re: Problme after creating a standalone app

Post by phaworth » Tue Feb 09, 2010 7:02 pm

Got it, thanks Jan.

Post Reply