J
Joshua Moore
Several locations on the web point to using the dll winmm and use PlaySound
using the code below. Can't I include the wav files in my project, and
change them to embedded resources, then point to the file name as
namespace.filename.extension?
Thanks,
Joshua Moore
static extern bool PlaySound( string pszSound, IntPtr hMod, SoundFlags sf );
then in a static void function
PlaySound( file, IntPtr.Zero, SoundFlags.SND_FILENAME |
SoundFlags.SND_ASYNC );
using the code below. Can't I include the wav files in my project, and
change them to embedded resources, then point to the file name as
namespace.filename.extension?
Thanks,
Joshua Moore
static extern bool PlaySound( string pszSound, IntPtr hMod, SoundFlags sf );
then in a static void function
PlaySound( file, IntPtr.Zero, SoundFlags.SND_FILENAME |
SoundFlags.SND_ASYNC );