> Further info: I tried it on a second machine under Win98. That
> too failed to
> play it. But this time, when I went to play it manually, it complained of
> not being able to play that type of WAV file. So maybe it's format?

Bingo! It was a format issue. Apparently the 'WAV' files were LAME MP3
format, although back when I first wrote the code and thus harvested the
sound files I didn't know MP3s even existed... strange. But I converted them
to PCM proper WAV files, and suddenly both Win98 machines play them just
fine.

I'm still curious as to why Media Player would play them on the first
machine yet PlaySound() would not - maybe it works at a slightly higher
level than the WinMM library. But anyway, result!!!

--
Jason Teagle
[EMAIL PROTECTED]



_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to