Using EA compiled with Build 765 in MT4 Build less than 765

Back to topics list To post a new topic, please log in or register
avatar
28
rex_loner 2015.03.23 07:31
 

Hi,

I have some question regarding Build. If I create EA in my MT4 Build 765, can someone else use my EA if he/she still using MT4 Build less than 765?

 

Rex 

avatar
12985
WHRoeder 2015.03.23 16:42 #
 

SW can be backwards compatible, but it is extremely unlikely that it is forward compatible in all aspects. It's likely either the EA or the terminal would crash.

  1. If Metaquotes checks for that, it may not load.
  2. You can always check:
    int OnInit(){
       int     build = TerminalInfoInteger(TERMINAL_BUILD)
       if(build < __MQLBUILD__){
          PrintFormat("Terminal=%i, must be at least %i", build, __MQLBUILD__);
          return INIT_FAILED;
       }
       :
    Predefined Macro Substitutions - MQL4 Documentation


avatar
28
rex_loner 2015.03.24 06:01 #
 
Thank you so much
Back to topics list  

To add comments, please log in or register