Thread View: borland.public.cppbuilder.internet.web
3 messages
3 total messages
Started by Jen Marks
Sat, 27 Nov 2004 23:00
nmhttp eaccesviolation
Author: Jen Marks
Date: Sat, 27 Nov 2004 23:00
Date: Sat, 27 Nov 2004 23:00
25 lines
1263 bytes
1263 bytes
hi,
i have problems with my nmhttp component using bcb5
try
{
HTTP->Get("http://www.amazon.de");
ShowMessage("okay");
}
catch (const Exception &e)
{
ShowMessage(e.Message);
}
this code shows me mostly (more than 60% percent) EAccesViolation
when i use:
HTTP->Get("http://www.babylon.com");
it shows me always okay
why is that? i cant understand
jen
Re: nmhttp eaccesviolation
Author: Jen Marks
Date: Sun, 28 Nov 2004 00:32
Date: Sun, 28 Nov 2004 00:32
47 lines
2034 bytes
2034 bytes
hi,
as i often read that nmhttp is bullshit, i install ind9 ony my bcb5. after
problems i good succuess in compiling and get this error message:
my calling code:
IHTTP->Get("http://www.amazon.com");
error: HTTP/1.1 301 Moved Permanently
what do i have to do, that i will get the code of the new site?? is there
any way to solve this problem?
does an instance of idhttp needs more memory than an instance of nmhttp?
jen
"Jen Marks" <j_marks@yahoo.com> schrieb im Newsbeitrag
news:41a90717@newsgroups.borland.com...
> hi,
>
> i have problems with my nmhttp component using bcb5
>
> try
> {
> HTTP->Get("http://www.amazon.de");
> ShowMessage("okay");
> }
> catch (const Exception &e)
> {
> ShowMessage(e.Message);
> }
>
> this code shows me mostly (more than 60% percent) EAccesViolation
>
> when i use:
>
> HTTP->Get("http://www.babylon.com");
>
> it shows me always okay
>
> why is that? i cant understand
>
> jen
>
>
Re: nmhttp eaccesviolation
Author: Chad Z. Hower aka Kudzu
Date: Sun, 28 Nov 2004 20:51
Date: Sun, 28 Nov 2004 20:51
24 lines
1721 bytes
1721 bytes
"Jen Marks" <j_marks@yahoo.com> wrote in
news:41a91cba@newsgroups.borland.com:
> my calling code:
> IHTTP->Get("http://www.amazon.com");
>
> error: HTTP/1.1 301 Moved Permanently
>
> what do i have to do, that i will get the code of the new site?? is there
> any way to solve this problem?
Nohting like checking google for such a frequenlty asked questions and then
instead blaming components.
Set HandleRedirects = True.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Instant Web Applications with IntraWeb
Try a fully functional evaluation at:
http://www.atozed.com/IntraWeb/
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