dll crash

 

Hi,


I have developed a dll in c++. I then wrote 3 indicators which use this dll. For each indicator there was a function in this dll. when a atach an indicator to a chart, metatrader sometimes chrashes. first the indicator is shon correctly and when I scroll everything works fine. If I scroll a bit more in the past, then metatrader chrashes und I have to restart it. another time metatrader chrashes when I try to put the indicatro which uses the dll onto the chart.

I use try blocks in the dll code, so I think a thrown exception cant be the reason. I also tried it without try blocks and the compiler option which oppresses exceptions but the same happend.

Does anyone of you jav
 
The only possible reason is a faulty code in your dll, e.g. thrashing process memory or damaging the stack.
Reason: