SteveCRM
Apr 24th, 2001, 10:14 PM
why doesn't this play? (its not because it closes because it does the same in a windows program) :mad:
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;
why won't it play? that is a valid file...
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;
why won't it play? that is a valid file...