-
January 1st, 2008, 07:40 AM
#1
Play wav resource
What shall i do that to play a wave file in the resource?
Last edited by Hakan Bulut; January 1st, 2008 at 12:07 PM.
-
January 1st, 2008, 07:50 AM
#2
Re: Play wav resource
You can use DirectSound for this.
Here's a link to get you started:http://msdn2.microsoft.com/en-us/library/ms804971.aspx.
Once you download the DX SDK you can browse through the DirectSound samples.
-
January 1st, 2008, 10:36 AM
#3
Re: Play wav resource
Or you can use thefollowing article of Code Guru written by Joerg Koening on 14 November 1998. I also used same and it works fine:
Subject: Playing Wave Files Directly From The Resource via DirectSound
URL: http://www.codeguru.com/cpp/g-m/mult...cle.php/c1603/
-
January 1st, 2008, 10:44 AM
#4
Re: Play wav resource
Originally Posted by Hakan Bulut
How can i do that to play a wave file in the resource?
You can use ::PlaySound() with SND_RESOURCE.
Cheers
-
January 1st, 2008, 11:15 AM
#5
Re: Play wav resource
Originally Posted by golanshahar
Thanks.. This was just the help.
-
January 1st, 2008, 02:34 PM
#6
Re: Play wav resource
You are welcome
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|