
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thanks for the article! How many solutions have not tried everywhere the same thing, if you do not bother please look at the log, I can not understand anything....
MySQL server:
MT5 build 1035
OS: Win8.1 x64
Greetings.
You have x64 operating system, are you sure you are using DLLs for 64-bit version?
They are attached in one of the discussion posts(mqlmysql_for_mql5_x64.zip1264 kb).
In the article there were libraries for x86 operating systems only.
By the way, do the test examples from the archive work ?
<<a little later>>.
This line is confusing: Tester file added: libraries\MQLMySQL.dll. 89626 bytes loaded
The original size of the x64 file MQLMySQL.dll = 89600 bytes, not 89626.
What antivirus do you have?
Hi.
Like the concept. Should be a great help
But I run into some problem. I am using 64 bit nd I have downloaded them and started out on a test script to see how it works.
but crashes in MySQLGetFieldAsxxxxx
2015.01.09 21:32:09.535 testsql (AUDNZD,H1) 000000013F81347A 488BF2 mov rsi, rdx
2015.01.09 21:32:09.535 testsql (AUDNZD,H1) 000000013F813476 4883EC20 sub rsp, 0x20
2015.01.09 21:32:09.535 testsql (AUDNZD,H1) 000000013F813475 57 push rdi
2015.01.09 21:32:09.535 testsql (AUDNZD,H1) 000000013F813470 4889742418 mov [rsp+0x18], rsi
2015.01.09 21:32:09.535 testsql (AUDNZD,H1) Access violation at 0x000000013F8134B3 read to 0x0000000000000001
2015.01.09 21:32:09.535 testsql (AUDNZD,H1) +++++++++++++0
2015.01.09 21:32:09.535 testsql (AUDNZD,H1) 2 row(s) selected.
2015.01.09 21:32:09.425 testsql (AUDNZD,H1) Connected
2015.01.09 21:31:18.135 testsql (AUDNZD,H1) x 0 y
Sorce:
I dug out my old laptop with win32 and installed the 32 bit version on it and compiled the same source with 32 bits library and includes.
Works fine. Problem is with 64 bit version
I dug out my old laptop with win32 and installed the 32 bit version on it and compiled the same source with 32 bits library and includes.
Works fine. Problem is with 64 bit version
Ok, will check this.
What's the version of terminal? MT4/MT5? and build number?
Ok, will check this.
What's the version of terminal? MT4/MT5? and build number?
Terminal MT5 Build 1035. Running on W7 64 crash
Terminal MT5 Build 1035 Running on XP 32 OK
Appreciate it. Working on a multi curreny, muli method (sort of) EA that currently uses an input file. For flexibility in testing different input files I am converting to MySQL
Terminal MT5 Build 1035. Running on W7 64 crash
Terminal MT5 Build 1035 Running on XP 32 OK
Appreciate it. Working on a multi curreny, muli method (sort of) EA that currently uses an input file. For flexibility in testing different input files I am converting to MySQL
I've tested it on x64 OS, MT5 build 1035. You are absolutely right.
I've made some checks and found that the data coming to DLL works fine. The problem is in receiving STRING datatype from DLL functions.
Also, I have tested my own scripts has been compiled with previous build of MT5 x64 - works fine.
But after recompiling with build 1035, the same script with the same DLL brings such errors.
Finally, I assume that the problem is not in DLL or MQLMySQL project, but in MT5 x64 compiler. I've opened case in service desk for this issue.
Thanks,
Eugene
Terminal MT5 Build 1035. Running on W7 64 crash
Terminal MT5 Build 1035 Running on XP 32 OK
Appreciate it. Working on a multi curreny, muli method (sort of) EA that currently uses an input file. For flexibility in testing different input files I am converting to MySQL
Just for testing, you can use my scripts included to distribution package.
Change database credentials in INI file, then run scripts.
Try to recompile them and run again.
You will see that on 1st run they works fine, but after recomiling they brings same errors with yours.
Problem is in MT5 x64 b1035 terminal/compiler
Just for testing, you can use my scripts included to distribution package.
Change database credentials in INI file, then run scripts.
Try to recompile them and run again.
You will see that on 1st run they works fine, but after recomiling they brings same errors with yours.
Problem is in MT5 x64 b1035 terminal/compiler
>Problem is in MT5 x64 b1035
So we are stuck??
My old 32bit laptop gave up today. Completely dead.
I wonder if I can install a 32 bits windows on a 64 bit machine and if that really helps. Or install a MT5/MQL5 32 bit on a Windows 7 64 bit machine
Later:
Found this Trying it.
>Problem is in MT5 x64 b1035
So we are stuck??
My old 32bit laptop gave up today. Completely dead.
I wonder if I can install a 32 bits windows on a 64 bit machine and if that really helps. Or install a MT5/MQL5 32 bit on a Windows 7 64 bit machine
Later:
Found this Trying it.
Install of 32-bit M5 worked fine and compiling worked fine but I could not get the tickvalue by
SymbolInfoDouble(pair,SYMBOL_TRADE_TICK_VALUE)
returns 0;
Maybe its not a good idea to run a 32 bit MT5 on a windows 64 bit machine. Have other indications too of malfunction. Next try is to install a windows 32 on my 64 bit computer.
Always these long detours taken you a long way off yourmain course :-(
Seems like I have to give up on this tool and get down to basics with MySQL. To much hassle installing a new windows XP and have no W7 key