I am using the SndPlaySound API call to play wavs for my project. I used to use the MMControl to play sounds, but am using it to play midi music, and found it works best if I use the API to do the wavs.
Problem is, when I used the MMControl, I could assign the wait property false so the playing of the wav did not stop the program execution. However, with the API, when the wav starts to play, all program execution stops until the wav is done playing.
Is there a way to make the SndPlaySound API play the wav sound without stopping program execution until it is finished the wav?