|
-
March 25th, 2005, 02:51 PM
#1
Resources Problem! Please Help!
Hallo,
I'm developing an application that use lots of little wav files. The idea is to deploy all these wavs in the same application. I clicked with the right mouse button on the - say it - WindowsApplication1 and I selected "add an existing item". Than I selected on of the wav files - say it wav1.wav -
The problem is: how can I play that wave? I thought to use Assembly:
MyAs=Assembly.GetExecutingAssembly();
Str=IO.Stream=MyAss.GetManifestRosourceStream("WindowsApplication1.wav1.wav");
The problem is: how can I use Str now?? How can I pass it to PlaySound (winmm.dll)? If PlaySound can't be used, how can I play this resource??
Than
CometKeeper...
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
|