In my Delphi 7 app, I download a *.wav file from the internet by creating a file stream and writing the file to that. All works well. I can then open the file in "Windows Media Player 8.00.00.4487" and it plays just fine.
However, If I attempt to play the file in the Delphi TMediaPlayer (which is what I need to do), I get an error every time that says: "raised exception class EMCIDeviceError with message 'No wave device is installed that can play files in the current format. To install a wave device, go to Control Panel, click Printers and Other Hardware, and then click Add Hardware.'.
Well, if the Windows Media Player can play it, why can't Delphi's TMediaPlayer? I would assume that both players have access to the same codecs, do they not?
Can someone tell me how I might remedy this problem in such a way that the application can be released to the masses?