Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
DLL to Communicate with two or more terminals
I need read or get Account Balance for terminal one in terminal two AND terminal two in terminal one
this DLL.cpp
#pragma data_seg(".ESC_SHARED")
double first (double one) {return one;}
double second (double two) {return two;}
#pragma data_seg()
#pragma comment(linker,"/SECTION:.ESC_SHARED,RWS")
in mq4
#import "DLL_EA.dll"
double first (double one);
double second (double two);
#import
in terminal #1
in terminal #2
I put the dll file in folder C:\Windows it work but
How can send these value throw dll file to read it from dll file