I've just compiled some code into a windows .exe and it runs perfectly. However when closing it (X top right) the process is still running (as viewed from windows task manager).
The .exe can't be deleted because it still running, supposedly.
I'm still using the 30 day free trial on Windows 7.
Am I doing something wrong with the compiling?
Thanks
Closing .exe doesnt kill process
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Closing .exe doesnt kill process
You probably have to issue your quit* command in the closeStack message/event
* - at its simplest, just the 'Quit' command, but you may have some shutdown stuff that needs to happen so that program flow would need to be initiated.
* - at its simplest, just the 'Quit' command, but you may have some shutdown stuff that needs to happen so that program flow would need to be initiated.
Re: Closing .exe doesnt kill process
Many thanks, this did the trick.
Code: Select all
on closestack
quit
end closestack