Hello all...
I have noticed a really wierd problem and i'm not sure if its me or not. I have two wave files in my resource file...
bounce.rc
---------
BOING WAVE BOING.WAV
BONK WAVE BONK.WAV
if I use PlaySound("BOING", hInstance, %SND_RESOURCE) nothing happens but PlaySound("BONK", hInstance, %SND_RESOURCE) does work. I can get the first file "BOING" to play if I modify the resource file like the following...
bounce.rc
---------
DUMMY WAVE BOING.WAV
BOING WAVE BOING.WAV
BONK WAVE BONK.WAV
I dont understand why putting a dummy resource in first would suddenly make both wave files play properly. Can anybody explain why this would happen?
Cheers!
p.s. I should also note that this happens even if I use numbers for the identifiers instead of names..."100/101,BOING/BONK".
[This message has been edited by mark smit (edited April 23, 2000).]
I have noticed a really wierd problem and i'm not sure if its me or not. I have two wave files in my resource file...
bounce.rc
---------
BOING WAVE BOING.WAV
BONK WAVE BONK.WAV
if I use PlaySound("BOING", hInstance, %SND_RESOURCE) nothing happens but PlaySound("BONK", hInstance, %SND_RESOURCE) does work. I can get the first file "BOING" to play if I modify the resource file like the following...
bounce.rc
---------
DUMMY WAVE BOING.WAV
BOING WAVE BOING.WAV
BONK WAVE BONK.WAV
I dont understand why putting a dummy resource in first would suddenly make both wave files play properly. Can anybody explain why this would happen?
Cheers!
p.s. I should also note that this happens even if I use numbers for the identifiers instead of names..."100/101,BOING/BONK".
[This message has been edited by mark smit (edited April 23, 2000).]
Comment