I found a weird bug in the MCI_command() function.
It works when I use this:
{
MCI_command(' open "applause.wav" alias "applause" ');
MCI_command(' play "applause" ');
}But it doesn't work when I try this:
{
MCI_command(" open 'applause.wav' alias 'applause' ");
MCI_command(" play 'applause' ");
}Why does my code work when I use singular quotes, and why doesn't my code work when I use double quotes?
Is this a bug?
I'm using
I would like to hear why my second code doesn't work.
Edit: Problem solved. The reason why my second code didn't work was because single and double quotes can't be interchanged in the MCI command.
Edited by Plastic, 16 April 2012 - 03:11 PM.











