diff --git a/MtApi/MtApiClient.cs b/MtApi/MtApiClient.cs index 5bc439d2..819229ff 100755 --- a/MtApi/MtApiClient.cs +++ b/MtApi/MtApiClient.cs @@ -858,10 +858,10 @@ namespace MtApi return SendCommand(MtCommandType.MessageBox, commandParameters); } - public void PlaySound(string filename) + public bool PlaySound(string filename) { var commandParameters = new ArrayList { filename }; - SendCommand(MtCommandType.PlaySound, commandParameters); + return SendCommand(MtCommandType.PlaySound, commandParameters); } public void Print(string msg) @@ -882,10 +882,10 @@ namespace MtApi return SendCommand(MtCommandType.SendFTPA, commandParameters); } - public void SendMail(string subject, string someText) + public bool SendMail(string subject, string someText) { var commandParameters = new ArrayList { subject, someText }; - SendCommand(MtCommandType.SendMail, commandParameters); + return SendCommand(MtCommandType.SendMail, commandParameters); } public void Sleep(int milliseconds) diff --git a/MtApi/MtCommandType.cs b/MtApi/MtCommandType.cs index fd194810..62a5f672 100755 --- a/MtApi/MtCommandType.cs +++ b/MtApi/MtCommandType.cs @@ -135,8 +135,8 @@ iBullsPower = 106, iCCI = 107, iCCIOnArray = 108, - iCustom = 109, - iCustom_d = 10109, + //iCustom = 109, + //iCustom_d = 10109, iDeMarker = 110, iEnvelopes = 111, iEnvelopesOnArray = 112, diff --git a/mq4/MtApi.ex4 b/mq4/MtApi.ex4 index 320c787c..9bd16f4e 100755 Binary files a/mq4/MtApi.ex4 and b/mq4/MtApi.ex4 differ diff --git a/mq4/MtApi.mq4 b/mq4/MtApi.mq4 index 20304998..5abaca70 100755 Binary files a/mq4/MtApi.mq4 and b/mq4/MtApi.mq4 differ