If the URL is invalid, INET_E_DOWNLOAD_FAILURE
is returned. Have you checked whether the URL works?
And URLDownloadToFile
could work normally on my Windows 11 OS without IE.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have written a windows console program that uses the win32 URLDownloadToFile function. This then ran for a long time without any problems on a windows 11 machine.
However, 2 months ago this PC was reinstalled and since then the program no longer works and it no longer works because of this function. The error code INET_E_DOWNLOAD_FAILURE is returned.
What has been tried so far to solve the problem is to deactivate the firewall, ensure the permissions and ensure a connection to the internet.
But during my research i came across an interesting article from microsoft where it says the minimum requirement for this function is internet explorer version 3.0 but the article is from 2016 and i wanted to ask if this is still the case?
If the URL is invalid, INET_E_DOWNLOAD_FAILURE
is returned. Have you checked whether the URL works?
And URLDownloadToFile
could work normally on my Windows 11 OS without IE.