Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 642

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
The problem is understanding what a include file is and what a library is.
The compiler "snatches" the used parts from the .mqh file and compiles an executable that will work in the absence of the .mqh file.
The library must be present on all computers that will be using a program that refers to the library. This is very inconvenient and few people use it, I do not know them.
I recommend to forget about the libraries and to understand the included files.
The problem is understanding what a include file is and what a library is.
The compiler "snatches" the used parts from the .mqh file and compiles an executable that will work in the absence of the .mqh file.
The library must be present on all computers that will be using a program that refers to the library. This is very inconvenient and few people use it, I do not know.
I recommend you to forget about the libraries and deal with the include files.
This is exactly what we are talking about.
I have provided files for this purpose.
It's not a DLL, it's an .MQ4(.EX4) file where the frequently used functions are stored.
The problem is that these functions in the EA body work without any problems,
but when you transfer them to a file connected through INCLUDE, you get the error described above.
I do not see any reason for that.
That's exactly what we're talking about.
I have provided files for this purpose.
This is not a DLL, it is an .MQ4(.EX4) file where the frequently used functions are stored.
The problem is that these functions in the EA body work without any problems,
but when you transfer them to a file connected through INCLUDE, you get the error described above.
I do not see any reason for that.
I'm sorry, are you kidding me?
I highlighted the line on purpose what does it tell you?!!!!
I'm sorry, are you kidding me?
I highlighted the line on purpose what does it tell you?!!!!
Instructing the compiler to apply a special strict error-checking mode
Instructing the compiler to apply a special strict error-checking regime
What does this imply?
Instructing the compiler to apply a special strict error checking mode
Above I gave the direct linkhttps://docs.mql4.com/ru/mql4changes search for export
If you don't know how to use the search, this is how you can find!!!!
Same here!!!
Now do you see where your mistake lies?Same here!!!
Now do you see where your mistake lies?Alas, I don't get it...
Please tell me...
Alas, I don't get it...
Please tell me.
If you mean the#property library property
I've got it checked...
Without it, the library file doesn't even compileI'm going to smoke so I don't write too harshly and try to explain to you what #property strict is.