last updates of mt5 crashes when importing dll

 

I did no modifications, only updating MT5 as usual,

I identified the issue. My indicator loads a dll.

when I insert this indicator, the properties window appears fine, but when I click ok, MT5 crashes immediately

I am stuck because I don't know where to look or how to debug the issue if any

I tried to look in logs, but I cannot find anything

I recompiled the indicator, with no avail

 

Any recommendations why MT5 crashes? or how to solve it? 

 
I had the same problem after updating the build.
My EA uses Ado dll. I have already posted a bug report to team support.
In my case, a workround was to replace all the automatic pointers by dynamic pointers.
Get in touch with developers using Service Desk!
  • www.mql5.com
We therefore attach great importance to all user reports about issues in our programs and try to answer each one of them.
 
Jin:
I had the same problem after updating the build.
My EA uses Ado dll. I have already posted a bug report to team support.
In my case, a workround was to replace all the automatic pointers by dynamic pointers.

what do you mean by automatic and dynamic pointers? i need an example :P

great that you did a bug report,

im quite in a slump right now, i cannot use my indicator 

 
ifmihai:

what do you mean by automatic and dynamic pointers? i need an example :P

We have the article about this question - Using the Object Pointers in MQL5
 

When you declare a variable from a class like below, you are using automatic pointer: 

CDummy dummy;

The variable dummy is a dynamic pointer an object of type CDummy. You don't have to use "new" to create the object, neither use "delete" to destroy the object, it's automatic.

 

In the declaration below you are using dynamic pointer, the C++ classic style: 

CDummy *dummy = new CDummy; 

 

I hope I have helped. 

 

 
Jin:

When you declare a variable from a class like below, you are using automatic pointer: 

CDummy dummy;

The variable dummy is a dynamic pointer an object of type CDummy. You don't have to use "new" to create the object, neither use "delete" to destroy the object, it's automatic.

 

In the declaration below you are using dynamic pointer, the C++ classic style: 

CDummy *dummy = new CDummy; 

 

I hope I have helped. 

 

thank you very much for your example, i see it now
Reason: