Thank you for the effort!
It works perfectly!
When I try to run it the metatrader closes with a fatal error. Any solution?
I found that wininet worked before the last MT5 update. But I still cant find a solution to make it work again. please let me know if you find how to overcome this problem.
fjccpm:
I found that wininet worked before the last MT5 update. But I still cant find a solution to make it work again. please let me know if you find how to overcome this problem.
https://www.mql5.com/en/forum/999#comment_152810I found that wininet worked before the last MT5 update. But I still cant find a solution to make it work again. please let me know if you find how to overcome this problem.
Guys, What's the problem and solution for this error?
"Error in call of HttpQueryInfoW()
Content length is unknown"

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
WININET_TEST:
Here is a simple example that shows how to download page(file) from Internet using the wininet.dll library.
The WININET_TEST.mq5 script is a modified version of script s_wininet.mq4, published by Integer in MQL4.Codebase.To see how does it works, don't forget to "Allow DLL imports" in the options of the client terminal and execute it at any chart.
Author: MetaQuotes