I. Son wave depuis une ressource▲
fichier.rc à ajouter au projet
TONWAVE WAVE "fichier.wav"
Unit.cpp
Sélectionnez
#include <mmsystem.h>
//.........
sndPlaySound("TONWAVE",SND_RESOURCE | SND_ASYNC);fichier.rc à ajouter au projet
TONWAVE WAVE "fichier.wav"
Unit.cpp
#include <mmsystem.h>
//.........
sndPlaySound("TONWAVE",SND_RESOURCE | SND_ASYNC);Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants :