Thanks Devin, I'll check the qt version on the machines. I also find the errors are less frequent if I add a wait command after I issue the start record command.
Bill > Message: 3 > Date: Mon, 21 May 2012 15:38:34 +0000 > From: Devin Asay <devin_a...@byu.edu> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Subject: Re: Help with Stop Record command on Win32 machines > > > Bill, > > I've run into a couple of problems with Windows and QuickTime over the last > couple of years. I don't know if this will apply to you, but it may be worth > checking out. > > 1. I saw some problems with LC apps crashing on Windows XP with QT 7.6.4 > installed. Older and newer versions seemed not to be affected. If you have > access to the Quality Control Center you can see bug report at > http://quality.runrev.com/show_bug.cgi?id=8420 > > 2. In the read me file for one of my apps that lets users view QuickTime > videos, I have the following notice: > > Known Problem on the Windows Version: > -------------------------------------- > On some Windows systems the [LiveCode app] might > crash when you try to view video recordings. If this happens, try the > following: > > Go to your Control Panels and open the QuickTime control panel. > Click on the Advanced tab. > Under the Video section, select Safe Mode (GDI only). > The videos play normally after you make this change. > > Again, don't know if this could be your problem, but it might give you a lead. > > Regards, > > Devin > > On May 19, 2012, at 5:00 PM, Bill Ziegler wrote: > >> After years of providing programs for special needs students I was just made >> aware of the programs failing at random places, making it difficult to debug. >> It only happens on Windows machines, possibly only on win32 machines and not >> at the same location. The Mac player works fine. >> >> The user gets an error box- "Revolution Engine for Win32 has encountered a >> problem and needs to close. We are sorry for the inconvenience." >> I am using the REV Player Engine 3.0.0 Build 750 and not a standalone >> because the same stack needs to run on Macs and Pcs. >> >> I am testing it now on a Macbook pro with VMware Fusion. >> >> If a scripter with PC access has time to put this script into a button and >> attempt to recording, if you have time, I would appreciate feedback on why >> it fails. >> I have found the problem occurs whether the scripts to Start and Stop >> Recording are on multiple buttons or just one. >> >> I have distilled the script down to the basics to eliminate other scripting >> variables. >> All you should need to do is hold the mouse down on the button to record. >> When you release the button, Stop Recording is sent to the engine. It plays >> back on mouseUp. >> The error rarely happens the first time but always randomly within 15 >> attempts and always on the 'Stop Record' command. >> >> Klaus has been helping to solve the problem over on the Multimedia forum but >> he only has access to Macs. >> >> The script isn't pretty but it works fine on Mac and up to 15 times on >> Windows before failing. >> >> Thanks, >> >> Bill >> >> >> on mouseDown >> if there is an audioClip "test" then stop playing audioClip "test" >> set the recordFormat to "wave" >> set the recordSampleSize to 16 >> set the recordChannels to 1 >> set the recordRate to 44.1 >> record sound file "Test" >> end mouseDown >> >> on mouseUp >> wait 1 second >> stop recording >> if there is an audioClip "test" then delete audioClip "test" >> if there is a file "test" then >> import audioClip from file "test" >> end if >> play audioClip "test" >> end mouseUp >> _____________________________ _______________________________________________ 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