i am trying to play a sound file with spaces in its name
example: "my File.wav"
So sending files like this:
mciSendString("play C:\\myFile.wav",0,0,0);
will work just fine. but:
mciSendString("play C:\\my File.wav",0,0,0);
will fail.
is there any solution to this problem?
mciSendString("play \"C:\\my File.wav\"",0,0,0);
. – Mateusz Grzejek