Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Playing more than one WAV file
Message
De
29/04/1998 02:15:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00095112
Message ID:
00095599
Vues:
25
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform