Standalone App Not Killable

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
acwilson96
Posts: 22
Joined: Tue Nov 26, 2013 9:55 pm

Standalone App Not Killable

Post by acwilson96 » Fri Dec 06, 2013 1:41 am

I am using Windows 8 and when I run a standalone app that I have created I cannot delete the file as the process for the app is still running, is there any way I can prevent the process from running?
The main issue I am having is I cannot delete the file and I am also wanting to create a button that will completely close the app.
Any solutions?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Standalone App Not Killable

Post by Simon » Fri Dec 06, 2013 1:50 am

Check out "destroyStack" in the dictionary.

Simon
Edit: and pendingMessages, make sure you cancel all of them.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

acwilson96
Posts: 22
Joined: Tue Nov 26, 2013 9:55 pm

Re: Standalone App Not Killable

Post by acwilson96 » Fri Dec 06, 2013 1:55 am

Simon wrote:Check out "destroyStack" in the dictionary.

Simon
Edit: and pendingMessages, make sure you cancel all of them.
Thank you very much, will try with a standalone now!

acwilson96
Posts: 22
Joined: Tue Nov 26, 2013 9:55 pm

Re: Standalone App Not Killable

Post by acwilson96 » Fri Dec 06, 2013 1:59 am

acwilson96 wrote:
Simon wrote:Check out "destroyStack" in the dictionary.

Simon
Edit: and pendingMessages, make sure you cancel all of them.
Thank you very much, will try with a standalone now!
I am having issues with launching the standalone: "The application was unable to start correctly (0xc0000142). Click OK to close the application."
I will google to find a solution

Post Reply