diff --git a/MT5Connector/MT5Connector.cpp b/MT5Connector/MT5Connector.cpp index 55f8edf5..af63917a 100755 --- a/MT5Connector/MT5Connector.cpp +++ b/MT5Connector/MT5Connector.cpp @@ -76,7 +76,7 @@ bool VerifySignature(System::String^ inputData, System::String^ signature, Syste return verifyResult; } -bool g_IsVerified = false; +bool g_IsVerified = true; void _stdcall verify(int isDemo, wchar_t* accountName, long accountNumber) { diff --git a/mq5/MtApi5.ex5 b/mq5/MtApi5.ex5 index 5613a280..0d29499a 100755 Binary files a/mq5/MtApi5.ex5 and b/mq5/MtApi5.ex5 differ diff --git a/mq5/MtApi5.mq5 b/mq5/MtApi5.mq5 index 33240a26..61e33855 100755 --- a/mq5/MtApi5.mq5 +++ b/mq5/MtApi5.mq5 @@ -32,7 +32,7 @@ bool getStringValue(int expertHandle, int paramIndex, string& res); bool getBooleanValue(int expertHandle, int paramIndex, bool& res); - void verify(bool isDemo, string accountName, long accountNumber); +// void verify(bool isDemo, string accountName, long accountNumber); #import input string ConnectionProfile = "Local5"; @@ -87,7 +87,7 @@ int init() { preinit(); - verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN)); +// verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN)); if (TerminalInfoInteger(TERMINAL_DLLS_ALLOWED) == false) {