CreateThread + URLDownloadToFile fails on VMware (Windows XP SP3)

Started by Messias, July 01, 2011, 10:08:46 PM

Previous topic - Next topic

Messias

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

jj2007

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

bomz

I make specially for testing Acronis archive of Windows 7. 10 minutes and I have w7

Antariy

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, 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.

Custos