473,395 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Play wav file on PocketPC 2003

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

Thanks
Raj

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
3 3893
Rajesh,

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

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Rajesh Singla" <rs*****@burgundyglobal.com> wrote in message
news:OO**************@TK2MSFTNGP12.phx.gbl...
Does anybody knows how to play wav file on PocketPC 2003.

Thanks
Raj

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #2
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/quickst...pactFramework/

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Rajesh Singla" <rs*****@burgundyglobal.com> wrote in message
news:OO**************@TK2MSFTNGP12.phx.gbl...
Does anybody knows how to play wav file on PocketPC 2003.

Thanks
Raj

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #3
You can write the code yourself using the PlaySound API
(http://samples.gotdotnet.com/quickst...playsounds.asp
x)
or you can use the Multimedia Library at www.opennetcf.org which wraps this
for you. The first one will work, but the OpennetCF implementation gives
you a lot more power to do other things.

If you are new to CF programming, I highly recommend the quickstarts above,
as well as www.opennetcf.org and www.devbuzz.com All of them have some
excellent information
"Rajesh Singla" <rs*****@burgundyglobal.com> wrote in message
news:OO**************@TK2MSFTNGP12.phx.gbl...
Does anybody knows how to play wav file on PocketPC 2003.

Thanks
Raj

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sameth | last post by:
I wrote a script that uses onmousedown and onmouseup in javascript that works great in ie and firefox on windows2000. It looks as if the pocketpc 2003 ie browser dosn't support onmousedown or...
2
by: Pawan Aggarwal | last post by:
I'm having trouble with calling an exported function in a native DLL compiled with eMbedded Visual C++ in C# application in PocketPC 2002 OS. Problem Description follows: I have one exported...
0
by: DL | last post by:
I have an existing application I'm porting to the Windows PC and PocketPC platforms. The UI will be designed from scratch using Visual Studio .NET tools and C#, but key pieces are written in C++. ...
6
by: db | last post by:
I need to write some basic code that will let me send messages to/from a PocketPC. In the past, when I was using VB6, I did this using the Winsock control and setting one machine as the client and...
2
by: John R. Dougherty | last post by:
I am looking for recommendations on the best installation packages everyone likes right now. I have a PocketPC application for which I want to build a install solution. I have tried many trial...
13
by: Aaron Smith | last post by:
I have a question... Will 3rd party ODBC drivers work on PocketPC? We have drivers to connect to a proprietary database and I was wondering if they would work on a handheld PDA running Windows CE...
9
by: Morris Neuman | last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to play a wave file that is not located in the website folders but is in a plain folder on the same machine, windows 2003...
0
by: admin | last post by:
I'm developing a PocketPC application. I'd like to create a desktop application that checks for updates to the pocketpc app and notifies the user. How would I go about connecting to the pocketpc...
0
by: xlar54 | last post by:
Im needing to access a PocketPC device via C#. Using Windows Vista and a PocketPC 2002. I found out that if you disable the service called Windows Mobile 2003, the device will still show up in My...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.