Download MetaTrader 5
To add comments, please log in or register
All activity at MQL5.community is clearly visible. Have a look at the Wall!
jimyang
68
jimyang 2014.08.18 03:57 

In MQL4 reference :

The file must be located in terminal_directory\Sounds or its sub-directory. Only WAV files are played.

Call of PlaySound() with NULL parameter stops playback.


But in I cant' find  terminal_directory\Sounds directory in my PC , as picture below,

please help me to find the sound file,thanks.


1

rod178
276
rod178 2014.08.18 05:06  
jimyang:

In MQL4 reference :

The file must be located in terminal_directory\Sounds or its sub-directory. Only WAV files are played.

Call of PlaySound() with NULL parameter stops playback.


But in I cant' find  terminal_directory\Sounds directory in my PC , as picture below,

please help me to find the sound file,thanks.




Program Files(x86)/MetaTrader - your broker /Sounds
Gatoreye
50
Gatoreye 2014.08.18 23:24  
must be installed in the DATA directory to work. Right-click on Icon and select property to get to the DATA directory.
Alain Verleyen
Moderator
28648
Alain Verleyen 2014.08.19 09:10  
gatoreyefx:
must be installed in the DATA directory to work. Right-click on Icon and select property to get to the DATA directory.
Nope. The sounds are not in data directory.
Alain Verleyen
Moderator
28648
Alain Verleyen 2014.08.19 09:10  
jimyang:

In MQL4 reference :

The file must be located in terminal_directory\Sounds or its sub-directory. Only WAV files are played.

Call of PlaySound() with NULL parameter stops playback.


But in I cant' find  terminal_directory\Sounds directory in my PC , as picture below,

please help me to find the sound file,thanks.



Open the "origin.txt" and you will get the terminal_directory path.
rod178
276
rod178 2014.08.19 09:18  
gatoreyefx:
must be installed in the DATA directory to work. Right-click on Icon and select property to get to the DATA directory.

The Sounds are exactly where I wrote they are. They are not in the Data Dir.
Alain Verleyen
Moderator
28648
Alain Verleyen 2014.08.19 09:41  
rod178:

The Sounds are exactly where I wrote they are. They are not in the Data Dir.

But they can be in other places than what you wrote. It depends of where the user install MT4.

What you give is the default path on a 64 bits system.

jimyang
68
jimyang 2014.08.19 14:37  

Dear all :

Thanks a lot ,

I have sloved the problem.

/
To add comments, please log in or register