is it possible to play a sound through the standard way on a smart device
unfortunatly there is no "compact" direct X and winmm.dll is not standard on the mobile device (cannot find it on the typhoon's C500 (audiovox 5600 ))
What other way is there to play standard audio (wave/mp3) on the smart device using .NET CF 1.1
Thanks!

sound?
ChrisHelt
Thanks in advance
MauriceSibrandi
You can use the Win32 API PlaySound (see http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcewave/html/_wcesdk_win32_playsound.asp) to play WAV files.
A managed Wrapper for this API is available in the OpenNETCF.org Smart Device Framework (http://www.opennetcf.org). Look for the class OpenNETCF.Windows.Forms.SoundPlayer.
Cheers!
Michael
Strick213
i had the same problem at first (or the music didn't stop), override the on exit and stop all sounds there,
does anyone know if its possible to run more that one sound at once, every time i do, it stops one sound and plays the other,
MatHobbs
shame there is no way of playing MP3 ( ) or wav files bigger than 1.5MB :(
Orellang
When iam running my application for the first time it runs fine. But if i close the application and load it again the sound will not play :(
Have a wonderful day
thames
Thanks mate :) I prefer not to use opennetcf stuff...
is that all there is on msdn no other example code or something I am not really good at putting in Win32API in .net
vdv_phuong
take a look at this:
http://msdn2.microsoft.com/en-us/library/ms229685.aspx
and this:
http://www.pinvoke.net/default.aspx/coredll/PlaySound.html