Odd crash with 7.0.1 and 6.7.2(rc1)

William Prothero prothero at earthednet.org
Tue Jan 13 17:14:11 EST 2015


Mark:
I still get the crash in both cases. Bummer. So it doesn’t appear to be a timing problem.
Bill

> On Jan 13, 2015, at 1:17 PM, Mark Talluto <userev at canelasoftware.com> wrote:
> 
> 
> On Jan 13, 2015, at 12:58 PM, William Prothero <prothero at earthednet.org> wrote:
> 
>> Folks:
>> I’m seeing a crash in both version 6.7.2(rc1) and 7.0.1 in my application. It only happens with a standalone in Windows. I’m running windows 7 64 bit in parallels 10, Yosemite on the Mac. The place where it causes the crash is in the following code, where the formatted width and formattedHeight of the map image comes out to be 0. This causes the crash. The app works fine in OS X standalone and in both Mac and Windows IDE’s.
>> 
>> put getAFilePath("files/maps/")&mapFileName into fullFilePath
>>  set the filename of image "mainMap" to fullFilePath
>>  set the visible of image "mainMap" to TRUE
>>  wait for 0 seconds with messages
>>  put the formattedWidth of image "mainMap" into mapWidth
>>  put the formattedHeight of image "mainMap" into mapHeight
>> 
>> This is a show stopper for my Windows version of my App. Can anybody suggest a workaround for this?
> 
> Hi Bill,
> 
> What happens if you increase your wait to 30 milliseconds?
> 
> If that does not work, what happens if you move the remaining code after the wait to another handler and then send to that new handler in 2 seconds?
> 
> 
> Best regards,
> 
> Mark Talluto
> livecloud.io
> canelasoftware.com
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list