I am making a small game in VB6 and I need to know how to play multiple sound effects.
Right now I am using...
and triggering a sound with...Code:Private Declare Function sndPlaySound Lib "winmn.dll" Alias "sndPlaySoundA" _ (ByVal ipszSoundName as String, ByVal uFlags As Long) As Long
This code only allows me to play one sound at a time.Code:sndPlaySound "soundfile.wav",1
I need to know how to play multiple sounds at once, at least five.
Thanks,