Problems loading mp3s with MCI
Hello long time no see guys
Anyway im having trouble loading mp3 files with MCI
Im doing this
std::string szCommand = "open \"test.mp3\" type mpegvideo alias test";
mciSendString(szCommand.c_str(), NULL, 0, 0)
It keep returning 266 and it does not know what that error code it when I do the lookup mci error code check thing.
I have absolutely no problems loading and playing wav files with almost identical code.
I have MSVC2005 and vista ultimate 64 bit.
Any clue whats wrong? I just want to play some mp3s without much hassle