
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Still not sure if I understand but... I don't think you can declare the MQL4 import as void*. You have to use a specific data type in the import, and you can then only use the DLL import with that data type. If you want to use the same DLL function with different data types, then you have a problem unless there is a workaround such as https://www.mql5.com/en/forum/148934
Actually I am using a workaround, but it is quite weak - wrapping any type into a generic struct. Accepting a generic structure as parameter may change in any future release.This does not work with arrays, however.
Actually I am using a workaround, but it is quite weak - wrapping any type into a generic struct. Accepting a generic structure as parameter may change in any future release.This does not work with arrays, however.
... It seems that I'm wrong. What we're both forgetting is that MQL4 now has function overloading, and therefore it's possible to do something like this:
... It seems that I'm wrong. What we're both forgetting is that MQL4 now has function overloading, and therefore it's possible to do something like this:
Sure, that is what I talk about since beginning :)
So far my import looks like:
and I wonder how long this list (for a single import) becomes in a year...
I also noticed small inconsistency in compilation of code with dependency on included files.
If two or more projects share the same include, and the include file gets modified, than the first projects detects it and recompiles, while the next projects do not. It is not serious problem though (we may delete all the ex4 any time).
I need just a quick answer, I am tired too search it today. Is it possible to destroy scope2 before it reaches the block boundary? I do not think so, but better to ask.
No.
Thank you.
Why is "ArrayMaximum" different between MT4 600+ and MT5? I thought reason to migrate MT4 syntax to MT5 syntax was to make it easy to develop applications that worked on both?!?!
MT4
MT5
Why is "ArrayMaximum" different between MT4 600+ and MT5? I thought reason to migrate MT4 syntax to MT5 syntax was to make it easy to develop applications that worked on both?!?!