Download MetaTrader 5
To add comments, please log in or register
How to use MQL5.community messages editor? Find out in the article!
Mohammad Soubra
23404
Mohammad Soubra 2016.05.23 01:56 

Hello

 

I am confused why the here under library call is coming as an executed file: 

#include <stdlib.mqh>

 

can any body help me please, I would be appreciated for the help. 


 

I want to include the source file instead. as it is in the code above!

Drazen Penic
2499
Drazen Penic 2016.05.25 12:51  

"stdlib.mqh" is a wrapper for the "stdlib.ex4" library.

Include file "stdlib.mqh" imports "stdlib.ex4" library which is located in the "libraries" folder.

So, when you include "stdlib.mqh" in your project, you also import "stdlib.ex4"  library.

Source for the "stdlib.ex4" library is located in the "Libraries" folder. You can include that source instead of "stdlib.mqh" and you will not see "stdlib.ex4" in the "Dependencies" tab, but that defeats the purpose of the library.

/
To add comments, please log in or register