Ron
2006-09-08 15:46:28 UTC
I am interested in what happened - I have the same issue.
Hi, I have a short Delphi application which uses the Wininet
HttpSendRequest API to GET a page from a website. If I run my
application from inside the Delphi IDE the call to HTTPSendRequest
always returns error code 12029 (ERROR_INTERNET_CANNOT_CONNECT),
however, if I run the compiled executable of the application the GET
request always succeeds.
At first I presumed that this must be a firewall problem but I have
tried disabling the firewall software and the problem still persists.
Can anyone tell me what would cause HttpSendRequest to return 12029
under these conditions?
Many thanks in advance.
Sorry, I should have added the following.
I have tried giving both the source code and the compiled executable to
another person (with delphi installed) and they are unable to
re-produce the error. (the program executed fine from both within the
Delphi IDE and from the stand alone executable.)
I have also tried re-installing Delphi, but the problem persists.
HttpSendRequest API to GET a page from a website. If I run my
application from inside the Delphi IDE the call to HTTPSendRequest
always returns error code 12029 (ERROR_INTERNET_CANNOT_CONNECT),
however, if I run the compiled executable of the application the GET
request always succeeds.
At first I presumed that this must be a firewall problem but I have
tried disabling the firewall software and the problem still persists.
Can anyone tell me what would cause HttpSendRequest to return 12029
under these conditions?
Many thanks in advance.
Sorry, I should have added the following.
I have tried giving both the source code and the compiled executable to
another person (with delphi installed) and they are unable to
re-produce the error. (the program executed fine from both within the
Delphi IDE and from the stand alone executable.)
I have also tried re-installing Delphi, but the problem persists.