MetaTrader 5 Client Terminal build 226

Terminal: Fixed recovery after crashing inside the dll imported to MQL5. MQL5: Added the new 'export' modifier for functions int Function() export { }

24 November 2009

  1. Terminal: Fixed recovery after crashing inside the dll imported to MQL5.
  2. MQL5: Added the new 'export' modifier for functions
int Function() export
{
}

It tells the compiler to add a function to the table of exported data of EX5 functions. Only functions with such a modifier become available ("visible") from other Expert Advisors. Now, the library property simply informs the compiler that the given EX5 is to become a library, and the compiler adds that to the EX5 header.

All functions planned as exported ones should be marked with the 'export' modifier.