Play wav file on PocketPC 2003

  • Thread starter Thread starter Rajesh Singla
  • Start date Start date
R

Rajesh Singla

Does anybody knows how to play wav file on PocketPC 2003.

Thanks
Raj
 
Rajesh,

I am not positive, but you can check to see if the PlaySound API
function is there.

Hope this helps.
 
Hi Rajesh,

The CF has no support for multimedia, you have to P/Invoke them , I'm using
the below declaration:

[DllImport("coredll")]
public static extern bool PlaySoundW( string szSound, int hMod, int flags );

PlaySoundW("bing.wav", 0, 0x00000001);


IIRC in the quickstart of gotdotnet you have an example ( maybe the same
above), this is the url:
http://samples.gotdotnet.com/quickstart/CompactFramework/

Hope this help,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top