H
Harry J. Smith
I added some sounds to my application, but the example in the msdn Library did not work.
It had:
[DllImport("coredll")]
public static extern bool PlaySound( string szSound, IntPtr hMod, PlaySoundFlags flags );
The file coredll was not found. I changed it to [DllImport("WINMM")] and it now works.
What is the best way to handle this?
-Harry
It had:
[DllImport("coredll")]
public static extern bool PlaySound( string szSound, IntPtr hMod, PlaySoundFlags flags );
The file coredll was not found. I changed it to [DllImport("WINMM")] and it now works.
What is the best way to handle this?
-Harry