main logo
Subject: Re: PlaySound() Win API occassionally plays sound twice
Author: Charlie Coleman
Posted: 2006/10/31 13:49:23
 
View Entire Thread
New Search


At 01:17 PM 10/31/2006 -0500, Malcolm Greene wrote:
>Charlie/Andy,
>
> > declare integer PlaySound in WinMm.dll as WinPlaySound string
> pcWavFile, integer nModule, integer nPlayFlags
>
>When I use the PlaySound API from VFP, occassionally it will double play
>the sound. This happens even if I run the API function manually from the
>VFP command window. Happens randomly, but about every 3 or 4 times I
>play my click.wav file.

Did you try the other values? There was one to cancel previous sound, etc.

...

-Charlie




 
©2006 Charlie Coleman
<-- Prior Message New Search Next Message -->