mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-20 14:18:22 +00:00
MQL5: changed MQL5_DLLS_ALLOWED to MQL_DLLS_ALLOWED
This commit is contained in:
Regular → Executable
BIN
Binary file not shown.
+2
-2
@@ -408,14 +408,14 @@ int init()
|
|||||||
isCrashed = true;
|
isCrashed = true;
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
if (MQL5InfoInteger(MQL5_DLLS_ALLOWED) == false)
|
if (MQLInfoInteger(MQL_DLLS_ALLOWED) == false)
|
||||||
{
|
{
|
||||||
MessageBox("Libraries not allowed.", "MtApi", 0);
|
MessageBox("Libraries not allowed.", "MtApi", 0);
|
||||||
isCrashed = true;
|
isCrashed = true;
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MQL5InfoInteger(MQL5_TRADE_ALLOWED) == false)
|
if (MQLInfoInteger(MQL_TRADE_ALLOWED) == false)
|
||||||
{
|
{
|
||||||
MessageBox("Trade not allowed.", "MtApi", 0);
|
MessageBox("Trade not allowed.", "MtApi", 0);
|
||||||
isCrashed = true;
|
isCrashed = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user