why doesn't this play? (its not because it closes because it does the same in a windows program)
why won't it play? that is a valid file...PHP Code:cout<<"Loading File...."<<endl;
mciSendString ("open C:\lit.mp3 type mpegvideo Alias mpeg", 0, 0, 0); //opens file
cout<<"File Loaded...."<<endl;
cout<<"Playing File...."<<endl;
//mciSendString ("Play mpeg from 0", 0, 0, 0); //play file
mciSendString("Play mpeg from 0", 0,0,0);
cout<<"File Played...."<<endl;





Reply With Quote