Question about import function on MT4

 
Hello, I had tried to use #import function long time ago, but it's like a bit difference now?
What means by? 32-bit system here? I think this is the only thing i need to fix.
//--- For the 32-bit system
//In Libraries ABC.ex4:

#property library
#property copyright "Copyright 2022, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict


void TestPrint() export{
      Print (hello);
}
#property copyright "Copyright 2022, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
#import "ABC.ex4"
//--- For the 32-bit system
   
void TestPrint();
#import

int OnInit()
  {
   TestPrint();
   return(INIT_SUCCEEDED);
  }



 
MT5 is 64 bits (x64)
older MT4 is 32 bits (x86)

 
Soewono Effendi #:
MT5 is 64 bits (x64)
older MT4 is 32 bits (x86)

Thank you for your explanation. 
So I was using mt4 to test it. Does it mean my MT4 was old ?


 
Yip Sin Hang #: Thank you for your explanation. So I was using mt4 to test it. Does it mean my MT4 was old ?

Please note that the text "//--- For the 32-bit system" is just a comment. It could easily say 1024-bit system. It has no influence in the code.

It was probably taken from something else and used out of context. Your example is just of normal MQL code.

Please read the following for more information ...