Re: PlaySound resource won't play sound in emulator..
- From: "Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx>
- Date: Tue, 7 Feb 2006 07:42:50 +0100
To check you don't miss anything in your OSDesign, can you try to play the
wav file directly from WMP ?
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
<photochop@xxxxxxxxxxx> a écrit dans le message de news:
1139267983.618306.264150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hey all!
First off, this is for eMbedded Visual C++ 4.0 with SP4. Running
the emulator.
I'm creating a slideshow application with a simple background
sound, and while I can get sound to play if it's a system sound either
through PlaySound or sndPlaySound like these examples when running the
application through the emulator:
PlaySound(L"Asterisk", hInst, SND_ASYNC);
OR
sndPlaySound(L"Asterisk",SND_ASYNC);
I can not get the sound to play when doing something like this:
PlaySound(MAKEINTRESOURCE(IDR_WAVE1), hInst, SND_RESOURCE | SND_ASYNC))
I have the wav file embedded in the resources properly, and it compiles
fine. It's just that PlaySound returns false everytime. Any reason why
it would be doing this? Am I missing something? It only does this with
resource'd wav files. My resource'd bitmaps load fine. :(
Hoping for a speedy answer because I'm running out of time. :(
-Steve
.
- Follow-Ups:
- Re: PlaySound resource won't play sound in emulator..
- From: photochop
- Re: PlaySound resource won't play sound in emulator..
- References:
- PlaySound resource won't play sound in emulator..
- From: photochop
- PlaySound resource won't play sound in emulator..
- Prev by Date: Re: SDIO driver issues going from Pocket PC 2003 to Mobile 5.0
- Next by Date: Re: Default fonts location
- Previous by thread: PlaySound resource won't play sound in emulator..
- Next by thread: Re: PlaySound resource won't play sound in emulator..
- Index(es):
Relevant Pages
|
Loading