Never mind!! Looks like a found the problem. It was me. I found it when I was entering a bug report and typed “it’s as if the image is not being loaded.” Bingo!! The paths are slightly different on Mac and PC standAlones.
Best, Bill > On Jan 13, 2015, at 2:14 PM, William Prothero <proth...@earthednet.org> wrote: > > 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 <use...@canelasoftware.com> wrote: >> >> >> On Jan 13, 2015, at 12:58 PM, William Prothero <proth...@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@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode