MT4 Freezing on deinit when using DLL

 

Hi,


I'm using a DLL to make HTTP requests, and noticed that after using this DLL, everytime I remove the EA MT4 freezes up and I have to close the process.

I'm using this wrapper to make the HTTP requests:

https://github.com/sergeylukin/mql4-http

The requests are made to localhost.

I even tried to create an empty EA, include the wrapper, and the same thing happens.


Is there a reason why?

sergeylukin/mql4-http
sergeylukin/mql4-http
  • sergeylukin
  • github.com
This is a simple MQL4 wrapper that uses Windows native wininet.dll and shell32.dll libraries and is supported by MT4 build 600 or newer. Following features are currently supported: send HTTP requests (currently supported only GET method) to a remote destination and read the body response from MQL that was compiled in build 600 and newer (not in...
 
Rui Ferreira: I'm using a DLL to make HTTP requests,

Stop using it and use the WebRequest

 
WebRequest does not allow you to use different ports.