program works on windows 7.
i was testing my program on VMware (Windows XP SP3) because i don't have a computer with windows XP and URLDownloadToFile fails when i call it inside another function that was called with CreateThread. I was using an administrator account on XP and URLDownloadToFile returns 800401E4
I don't know if the problem is with vmware or if it really fails on windows xp.
can somebody check and test the code on a real windows xp system?, thank you
http://www.sendspace.com/file/ldxrfm
It works perfectly. I doubt that C:\ is a good location for the local file. If I were your puter, I would tell you to go to hell :green2
I make specially for testing Acronis archive of Windows 7. 10 minutes and I have w7
Quote from: Messias on July 01, 2011, 10:08:46 PM
I was using an administrator account on XP and URLDownloadToFile returns 800401E4
I don't know if the problem is with vmware or if it really fails on windows xp.
The description for the code
800401E4 is:
Invalid syntax. Used this proggie: AxMsgTableViewer (http://www.masm32.com/board/index.php?action=dlattach;topic=14448.0;id=7828), Win32 errors mode.
It seems that URL is written in a wrong syntax, maybe "http://" protocol prefix is required etc.
Most probably the error cause is a VM.
Yeah, it works fine on my copy of XP SP3.