Is there a reason not to use MsgPlus.PlaySound()?
You just call it like this:
code:
MsgPlus.PlaySound(PATH);
It supports:
quote:
Microsoft WAV, Sphere Nist (*.wav)
MPEG Audio (*.mp1;*.mp2;*.mp3)
Amiga (*.iff;*.svx)
Apple/SGI (*.aif)
Berkeley/Ircam (*.sf)
Creative Labs (*.voc)
Ensoniq Paris (*.paf)
GNU Octave (*.mat4;*.mat5)
Sound Forge (*.w64)
Sun/Next (*.au;*.snd)
Free Lossless Audio Codec (*.fla;*.flac)
Apple CAF (*.caf)