-
Hi,
Is there a way to play multiple wav files at once in VB5 WITHOUT having to use DX or an ActiveX control (maybe with the winmm.dll or sndPlaySound)?
I already have the ASprite control, but I don't really want to have to require DX on the system for it to have this functionality if at all possible.
Thanks for any help you can provide!
-
Last time I tried to do this it worked with SndPlaySound. Here's my code:
-
sndPlaySound "C:\Test.wav", 1
-
------------------
[email protected]
...
Every program can be reduced to one instruction which doesn't work.
-
Sorry, that didn't work. Here's my code based on what you just told me:
sndPlaySound "c:\...\sound1.wav", 1
sndPlaySound "c:\...\sound2.wav", 1
It only plays sound2.wav. Did I miss something here or do you have any other ideas? Thanks again!
-
Hello!!
Yes...there is a way... you need to get the
WAVMIX32.DLL
It's alot of code to hook it up, but it allows you to play 8 sounds at once!!
I'll see if I can scrounge up the demo I got for it...
Let me know where I can send it if you want it!
~Sam
-
Plantemess...
If you want to get a hold of me for the source... drop me a line at [email protected]
(..It takes me a while to check my mail.. )
~sam
-
Hi Sam,
I found the file. Do you have any sample code and/or an API reference or know where I can get one?
Thanks!