mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-04 06:27:45 +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;
|
||||
return (1);
|
||||
}
|
||||
if (MQL5InfoInteger(MQL5_DLLS_ALLOWED) == false)
|
||||
if (MQLInfoInteger(MQL_DLLS_ALLOWED) == false)
|
||||
{
|
||||
MessageBox("Libraries not allowed.", "MtApi", 0);
|
||||
isCrashed = true;
|
||||
return (1);
|
||||
}
|
||||
|
||||
if (MQL5InfoInteger(MQL5_TRADE_ALLOWED) == false)
|
||||
if (MQLInfoInteger(MQL_TRADE_ALLOWED) == false)
|
||||
{
|
||||
MessageBox("Trade not allowed.", "MtApi", 0);
|
||||
isCrashed = true;
|
||||
|
||||
Reference in New Issue
Block a user