PlaySound(xxx.wav) does not play sound?

 

anybody facing this problem ??

it was working!! ?

 
Try System Icons → Sound Icon → Right Click → Mixer and verify it's not muted.
 
SalmanAlOtaibi:

anybody facing this problem ??

it was working!! ?

What is "xxx" ? Show the real code.

Which build are you using ?

 
Alain Verleyen #:

What is "xxx" ? Show the real code.

Which build are you using ?

all builds, now: 1441 and 5574 for both mt4/mt5

see picture!

Files:
Untitled.png  36 kb
 
William Roeder #:
Try System Icons → Sound Icon → Right Click → Mixer and verify it's not muted.

i already check all of these !

for example if i open any wav file, it is ok,,,

if i open youtube , it is ok,,,

this is the part of the code .. picture

1 month ago,, it is owrking fine!

Files:
Untitled.png  131 kb
[Deleted]  
William Roeder #:
Try System Icons → Sound Icon → Right Click → Mixer and verify it's not muted.

Maybe the path of sound file was wrong

Or check the music_order variable

 
James Lee #:

Maybe the path of sound file was wrong

Or check the music_order variable

do you try it

even if i put PlaySound() immediatrly after OnTimer,, without any restrictiosn/conditios. it does not play sound ?


FILE path is the path that we know since years!!! C:\\ProgramFiles\Broker\Sounds

 
Alain Verleyen #:

What is "xxx" ? Show the real code.

Which build are you using ?

is it working with you,,,, even if you try this?

Files:
Untitled.png  45 kb
 

was problem in the code


sorry

 
SalmanAlOtaibi #:

was problem in the code


sorry

if you can, please post your code before you fixed it, and then how you fixed it. That way others can learn from your experience.