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.
int mt2ns(string name, double& in, int insize, double& out,
2010.07.18 16:30:10 Core 1 Cannot open 'mt2ns.dll' (126)
It seems your dll calls another dll which cannot be found