I've been trying all weekend to figure it out, I'm using the DLL file "winmm.dll" Alias "PlaySoundA" the function is "PlaySound".
This is the code I want to execute:
PlaySound ImageFolderPath & "7.wav", 0, &H11
(ImageFolderPath is my variable)
There may be sound playing when this is executed so that has to stop. This new sound needs to then loop until another sound is played.
I'm thinking the &H11 is where it's going wrong.
Any help will be massively appreciated.
A second problem I've been having, which I'm wanted to get around is that I can't call this code and have 2 or more sounds playing at the same time. Again, any help with this would be most appreciated.
Thanks in advance.