I am using the PlaySound function to play a .wav file of an explosion within a Battleship game I made for class. The problem I am having is that a section of code will not run until the .wav file is done playing. I am trying to call the PlaySound function to play the .wav file while a for loop displays a flashing HIT or MISS message. But the loop won't start until after the sound has played. Is there anyway I can play the sound while the loop is executing. I am using MSVS .Net C++.