Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3021

URLDownloadToFile() not working?

$
0
0
Hi,

In a program I've written I'm using the code URLDownloadToFile(NULL,source_location,target_location,0,NULL) to download a small file from source_location on the internet to target_location on disk. This code works perfectly fine for both me and virtually everyone who uses the program. However, a very small percentage of users seems to have trouble in getting this to work. The file is not downloaded for them. Particularly these people seem to have either Kaspersky installed or no protection at all.

Now, I fully understand that they should just set an exception, however this doesn't seem to solve the issue for some reason. The program can still not connect, even with an exception.

Does anyone have any idea of what could be causing this?
Or if there's some method of figuring out what is the cause of the block?
Or if possibly I'm not using URLDownloadToFile correctly?

Thanks in advance!

Viewing all articles
Browse latest Browse all 3021