Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing more than one WAV file
Message
From
29/04/1998 02:15:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00095112
Message ID:
00095599
Views:
24
>Luis,
>
>Use the API
>
declare integer sndPlaySound in winmm.dll string cSoundName, integer uFlags
>
>x="C:\WIN95\MEDIA\The Microsoft Sound.wav"
>sndPlaySound( x, 16 ) && delay till finished
>sndPlaySound( x, 17 ) && asynchronous

>
>>I need to play a sequence of WAV files.
>>
>>set bell to "1.wav",0
>>?? chr(7)
>>set bell to "2.wav",0
>>?? chr(7)
>>set bell to "3.wav",0
>>?? chr(7)
>>
>>The problem is how can I force the second wav file only plays after the fisrt is completed.

Thank you, I do it and no problems at all.
I'd like to know more about winmm.dll. Do you know where do I can get some information (books, internet site, etc...).

Thanks, Luis Setúbal.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform