Can't be used to check a file in MQL4\Libraries, only in MQL4\Files.
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
Hi guys,
I have this code:
If files test.ex4 and libutm2.ex4 are in directorie MQL4/Libraries - script is running ok.
When I delete once *.ex4 (example libutm.ex4), code freezes on row: init_lib=InitLibrary();
Unfortunatelly GetLastError() return value zero... :-(
My idea how I want code works:
declaration...
...#import ".... .ex4"
...#import ".... .ex4"
void OnStart()
{
if (Files1_Libraries_exist) { ...go... }
else {... go other...}
if (Files2_Libraries_exist) { ...go... }
else {... go other...}
}
I need different which file missing. How get it?
Thank you for help me.
Endy