Calling sndPlaySound() 
Author Message
 Calling sndPlaySound()

Hi all,

Do you know how to use the function sndPlaySound() in MFC?  I had put it in
my program, but it
got an error.  Is it any header file or other declaration is needed before
calling this procedure?

Thx for your help!



Thu, 24 Jul 2003 12:53:05 GMT  
 Calling sndPlaySound()
Hi,

here a simply code to use
  #include "mmsystem.h"
   PlaySound( strWave, NULL, SND_FILENAME | SND_SYNC | SND_NOSTOP |
SND_APPLICATION );
thats it.

Daniel



Quote:
> Hi all,

> Do you know how to use the function sndPlaySound() in MFC?  I had put it
in
> my program, but it
> got an error.  Is it any header file or other declaration is needed before
> calling this procedure?

> Thx for your help!



Mon, 18 Aug 2003 14:17:52 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Calling sndPlaySound()

2. sndPlaySound

3. SndPlaySound error

4. sndPlaySound...??

5. sndPlaySound Problems?

6. Help me with "sndPlaySound"

7. Can't get sndPlaySound to work

8. sndPlaySound

9. The sndPlaySound don't work!

10. Help me with "sndPlaySound"

11. sndPlaySound Search path

12. sndPlaySound()

 

 
Powered by phpBB® Forum Software