I use this function in a program that has to run under both Vista and XP, and I have to know when a network connection is lost during a file download. Under XP, everything is fine: disconnect the network, URLDownloadToFile exits immediately and I can begin to pick up the pieces. Under Vista, the function just hangs.
I've got a callback defined, and I thought that something would get reported through there, but no.
Anybody know what's going on?