This project is read-only.

Does this work with the new Metatrader because MQL4 and MQL5 use the same compiler now

Feb 5, 2014 at 10:30 AM
According to this link
http://www.mql5.com/en/forum/19157

both languages use the same compiler and when I try to compile the "Expert_NET.mq4" it does not compile. The .mq4 file will not compile even when it was using the old metaeditor4

'.' - unexpected in macro definition Core_winsock.mqh 284 17
macro redefinition Core_winsock.mqh 285 9
'.' - unexpected in macro definition Core_winsock.mqh 285 17
macro redefinition Core_winsock.mqh 286 9
'.' - unexpected in macro definition Core_winsock.mqh 286 17
macro redefinition Core_winsock.mqh 287 9
'.' - unexpected in macro definition Core_winsock.mqh 287 17
macro redefinition Core_winsock.mqh 288 9
'.' - unexpected in macro definition Core_winsock.mqh 288 17
macro redefinition Core_winsock.mqh 289 9
'.' - unexpected in macro definition Core_winsock.mqh 289 17
arrays passed by reference only System_NET_MQL.mqh 4 30
arrays passed by reference only System_NET_MQL.mqh 46 40
arrays passed by reference only System_NET_MQL.mqh 89 37
arrays passed by reference only System_NET_MQL.mqh 127 35
arrays passed by reference only System_NET_MQL.mqh 181 38
arrays passed by reference only System_NET_MQL.mqh 261 46
arrays passed by reference only System_NET_MQL.mqh 332 45
'struct' - unexpected token Core_winsock.mqh 292 20
'[' - struct can't be defined in parameters list Core_winsock.mqh 292 26
'string' - comma expected Core_winsock.mqh 313 1
']' - declaration without type Core_winsock.mqh 313 30
']' - comma expected Core_winsock.mqh 313 30
'struct' - comma expected Core_winsock.mqh 336 22
']' - declaration without type Core_winsock.mqh 336 29
']' - comma expected Core_winsock.mqh 336 29
'struct' - comma expected Core_winsock.mqh 354 22
']' - declaration without type Core_winsock.mqh 354 29
']' - comma expected Core_winsock.mqh 354 29
arrays passed by reference only Expert_NET.mq4 36 37
not all control paths return a value Expert_NET.mq4 19 1
not all control paths return a value Expert_NET.mq4 26 1
not all control paths return a value Expert_NET.mq4 34 1
'OrderPrint' - expression of 'void' type is illegal System_NET_MQL.mqh 223 9
'struct' - unexpected token Core_winsock.mqh 322 9
'[' - unexpected token Core_winsock.mqh 322 15


Please help me get this working.
Feb 5, 2014 at 5:28 PM
seems like the new MT4 Build 600 has alot of changes on how to code for MT4 especially using external dll. might need to update the tradeplatform.net or update the how to section or the sdk.
Feb 22, 2014 at 5:14 AM
Use the OLD BUILD to compile
Jul 30, 2014 at 1:49 PM
Hey can not use the old build anymore... brokers are starting to shift to 600+

Can you share the source code for the migration please...
Aug 9, 2014 at 11:58 AM
but u can use the terminal from Shoundow for compile it, and use the ex File in a 600+ Build..

Thanks!
Sep 5, 2014 at 2:40 PM
twister65 wrote:
but u can use the terminal from Shoundow for compile it, and use the ex File in a 600+ Build..

Thanks!
Thx twister found this workaround too but still not perfect as brokers are starting to shift to MT5 now :) but dividing by 2 the spread on MT5 accounts...
So started the migration to MT5, almost working need only to rework the following source package to adapt the windsock communication for 64bit progs... http://www.mql5.com/en/code/9772