Have an app in C++ and I call sndPlaySound to play wav files. Has worked fine on hundreds
of PCs. Now I have it on one particluar PC, running windows 7, and my code will play one wave file just fine, but won't play another wav file -- instead emits a little strange beep. That is,
it plays "A.wav" just fine but won't play "B.wav". If I go out to windows on this PC and play the
files with the windows media player, they both play fine. Playing from my code on other PCs they both play fine. So, its driving me nuts. What can it be? Maybe the wav files use different codecs and although windows media player can use both, my app (via winmm.lib) does not have access to one of the codecs? Just a guess - how can I tell if a differnt codec is in use?