Optimization Strategy testing agents and dlls

 

Deal all,

I am trying to optimize my EA that uses a dll. I have read that I can't use local network or cloud network agents when using dlls: https://www.metatrader5.com/en/terminal/help/algotrading/strategy_optimization

The issue I have is that I can neither use more than 1 local agent (out of my 4 cores). But I can when not using a dll. Do you know if it is a MT5 limitation or if there is something I am doing wrong?

Many thanks!

 
Found out the issue was actually coming from my dll
Reason: