Thread View: microsoft.public.inetsdk.programming.wininet
3 messages
3 total messages
Started by jdorrington
Tue, 11 Apr 2006 14:17
Wininet HttpSendRequest returns 12029
Author: jdorrington
Date: Tue, 11 Apr 2006 14:17
Date: Tue, 11 Apr 2006 14:17
14 lines
1916 bytes
1916 bytes
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.
Re: Wininet HttpSendRequest returns 12029
Author: jdorrington
Date: Tue, 11 Apr 2006 14:29
Date: Tue, 11 Apr 2006 14:29
25 lines
2470 bytes
2470 bytes
jdorrington@hotmail.com wrote: > 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.
Re: Wininet HttpSendRequest returns 12029
Author: Scherbina Vladimir
Date: Tue, 11 Apr 2006 14:34
Date: Tue, 11 Apr 2006 14:34
9 lines
1541 bytes
1541 bytes
Most likely the problem is in firewall or AV software, because Agnitium Outpost sometimes blocks my VS IDE - it reports that devenv.exe has modified memory in myapp.exe and blocks access to the network for both processes. Try to play with firewalls settings once more. -- Vladimir manage content: http://www.infostoria.com/ blog: http://spaces.msn.com/vladimir-scherbina/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads