Dll calling error , Error 126

 

I am getting this error with MQL5 where in mql4 it was working perfectly, also I allowed DLL calling in the MQL5 terminal

here is the code.

#import "mt2ns.dll"

int mt2ns(string name, double& in[], int insize, double& out[], int outsize);

#import        



2010.07.18 16:30:10    Core 1    Cannot open 'mt2ns.dll' (126)

 

It seems your dll calls another dll which cannot be found

Reason: