Download MetaTrader 5
To add comments, please log in or register
Find out how to add a video in the messages editor
raidsan
30
raidsan 2010.08.27 13:52 

Use recently  MT5 version,  I got a runtime error  in my  code call  to ArrayResize(class, xx),  in the past  it runs all ok.

Just to show the error,  I  use  a demo script  for example,  the same error occur in my indicator.

Run testScript.mq5  to reshow the error.

these codes is modified from Sergan's cbot inidicators,  his codes is access cbot txt file directly,  and  I  modified it to use mysql to store the data.

the library dll :  "mysql_wrapper.dll" depend on the mysql dll:  libmySQL.dll, which should place to  the path of terminal.exe,  or in the %path% env var path.

Files:
Ilyas
1205
Ilyas 2010.08.27 18:55  
Thank you for message. Fixed. Please wait for updates.

Serge
456
Serge 2010.11.20 23:06  
When I put my test indicator with mysql.mqh(from runtime_error.rar) on the chart I got an error "2010.11.20 21:55:42 mysql_select2 (EURUSD,M5) Cannot open 'D:\Fx_dev\Program Files\MetaTrader 5\MQL5\Libraries\mysql_wrapper.dll' (14001)", but mysql_wrapper.dll and libmySQL.dll are placed at "D:\Fx_dev\Program Files\MetaTrader 5\MQL5\Libraries\" folder. How can I fix this error?
Ilyas
1205
Ilyas 2010.11.23 16:14  
Which version of dll do you use? debug or release?

error 14001: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

Serge
456
Serge 2010.11.24 13:35  
mql5:
Which version of dll do you use? debug or release?

error 14001: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

All files (mysql.mqh mysql_wrapper.dll etc) were taken from archive above(runtime_error.rar (623.16 KB)). Here is my test indicator.

 

Files:
error.png 6 kb
libs.png 8 kb
/
To add comments, please log in or register