Download MetaTrader 5

EA can't work properly due to WinAPI functions failing to load. - page 2

To add comments, please log in or register
Do Hung
151
Do Hung  

Hi All, 

 I solved problem by changing line 

   string str = CharArrayToString(ReadBuffer, 0, BytesRead[0]);

with this 

   string str;
   for (int i=0; i<BytesRead[0]; i+=2) {str += CharToStr(ReadBuffer[i]);} 

12
To add comments, please log in or register