|
-
April 19th, 1999, 02:02 PM
#1
Make '.wav' a resource?
I want to play a .wav file in my application. I can play from file with no problem using:
PlaySound( "c:\\mysound.wav",NULL, SND_ASYNC|SND_FILENAME );
But, I don't want to distribute '.wav' files with my app. Any way to make the sounds part of my app, say as a resource?
Thanks,
GL Hovis
-
April 20th, 1999, 10:52 PM
#2
Re: Make '.wav' a resource?
-
April 20th, 1999, 11:55 PM
#3
Re: Make '.wav' a resource?
try this.
PlaySound("IDR_WAVE1", NULL, SND_RESOURCE | SND_ASYNC);
hope helps.
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
|