I too Bruce can’t make anything crash because of keyboard use; however, I have 
seen a much higher than normal number of crashes which happen just as WE is 
playing some sound (I have several programs which play sounds either at 
regularly timed intervals such as the clock type programs, or when something 
happens (usually my own apps are playing these sounds)).  In any case, I had 
wondered if the crash could be being caused by two apps playing sounds through 
WE at the same time?

 

There is something going on as you’ve noticed,  but as Rod points out, it’s 
been impossible so far to reliably reproduce it.

 

Chip

 

 

From: Rod Hutton [mailto:[email protected]] 
Sent: Saturday, February 09, 2013 1:32 PM
To: [email protected]
Subject: Re: PlaySound Crash When Hitting Key

 

Hi Bruce,

 

I just executed the following command in the immediate mode app window:

 

PlaySound("C:\test.wav")

 

and I played around with the keyboard while the file was playing, both on my 
USB keyboard, as well as on my bluetooth one, and no problems.

                                                                                
                                                                                
                           

I dunno.  Maybe the wav files you are using have minor errors in them.  I’ve 
run into this problem before.

 

Take care,

 

Rod Smile

 

From: BX <mailto:[email protected]>  

Sent: Saturday, February 09, 2013 1:15 PM

To: [email protected] 

Subject: PlaySound Crash When Hitting Key

 

 

Hi!

 

    I discovered one thing about the Playsound command in the object model and 
when entering something on the keyboard the same time the sound being played by 
playsound at the same time almost always locks up the keybaord, thus forcing a 
reboot...

 

    Has anyone else had the same problem? I have running in the background my 
Cuckoo Clock program that rings or plays a sound and voice every 15 minutes...

 

    so, is there timing issues with the keyboard coming in to play?

 

        Sincerely

        Bruce

 

Reply via email to