Only add lines to Onint or Ondeinit usintg includes

Back to topics list To post a new topic, please log in or register
avatar
83
BeLikeWater 2015.02.21 18:08
 

I dont think this is possible but:


Can you add lines, say at the beggining or the end of Oninit function, via includes?


Meaning: You have an EA with an include named <include.mqh>. Is it possible that inside the code of the include file modify the Oninit function of the EA?


Thank you

This forum is awesome!

BeLikewater

avatar
13012
WHRoeder 2015.02.21 18:32 #
 
Of course.
avatar
1111
Ovo 2015.02.21 19:56 #
 
BeLikeWater:

I dont think this is possible but:


Can you add lines, say at the beggining or the end of Oninit function, via includes?


Meaning: You have an EA with an include named <include.mqh>. Is it possible that inside the code of the include file modify the Oninit function of the EA?


Thank you

This forum is awesome!

BeLikewater

Just a note.

The file content of the included file is inserted only once, in its first #include statement currently, while up to the build 509 the content was inserted at every #include statement.

Back to topics list  

To add comments, please log in or register