Standalone app crashes
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
Standalone app crashes
Hi all.
Having built a few rough apps I have just built my first 'proper app' for windows. It works in the LC environment but when built as standalone it crashes.
Is there any way of seeing why? I have roughly worked out which area of code fails, but would like to be able to pinpoint it.
Any shove in the right direction appreciated.
Having built a few rough apps I have just built my first 'proper app' for windows. It works in the LC environment but when built as standalone it crashes.
Is there any way of seeing why? I have roughly worked out which area of code fails, but would like to be able to pinpoint it.
Any shove in the right direction appreciated.
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.
-
- Livecode Opensource Backer
- Posts: 132
- Joined: Mon Jan 14, 2013 3:37 pm
Re: Standalone app crashes
Hi Tribblehunter
You may want to temporarily implement an "errorDialog" handler in the main stack script if you haven't done so already. That handler would catch execution errors not caught by a try-catch block anywhere else. You can then either display the error or write it to a log file.
Please have a look at the "errorDialog" entry in the LiveCode dictionary.
You may want to temporarily implement an "errorDialog" handler in the main stack script if you haven't done so already. That handler would catch execution errors not caught by a try-catch block anywhere else. You can then either display the error or write it to a log file.
Please have a look at the "errorDialog" entry in the LiveCode dictionary.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101
Re: Standalone app crashes
Hi.
You will better be able to use Ledigimate's excellent advice if you examine this thread:
http://forums.livecode.com/viewtopic.ph ... ch#p112344
Craig Newman
You will better be able to use Ledigimate's excellent advice if you examine this thread:
http://forums.livecode.com/viewtopic.ph ... ch#p112344
Craig Newman
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
Re: Standalone app crashes
Thanks guys. That will be helpful for the future.
Turns out it was a compatibility issue with windows 8!
runs in compatibility mode.
Turns out it was a compatibility issue with windows 8!
runs in compatibility mode.
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.
Re: Standalone app crashes
@Ledigimate.
Nice exercise, your signature (and it's true, somehow).
Nice exercise, your signature (and it's true, somehow).
Code: Select all
on mouseUp
put "0101000001100101011000010110001101100"& \
"10100111101010011000110111101110110"& \
"01100101001010110101010001110010011"& \
"10101011101000110100000101011010010"& \
"10011101010111001101110100011010010"& \
"110001101100101" into m
repeat with j=1 to length(m) div 8
put byte 8*j-7 to 8*j of m into b
put numToByte(baseconvert(b,2,10)) after signature
end repeat
answer signature
end mouseUp
shiftLock happens
-
- Livecode Opensource Backer
- Posts: 132
- Joined: Mon Jan 14, 2013 3:37 pm
Re: Standalone app crashes
@hh
I'm glad my signature had you so curious that you actually wrote some code to find what it says
It took some deep thought to come up with.
I'm glad my signature had you so curious that you actually wrote some code to find what it says

It took some deep thought to come up with.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101