🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1569

Re: NavigateError

#1569
From: Remy Lebeau (TeamB)
Date: Thu, 23 Sep 2004 08:24
19 lines
1567 bytes
"Willie" <Willie.nospam@nospam.pchome.com.tw> wrote in message
news:41526ba9@newsgroups.borland.com...

> How can I get the HTTP Status Codes in NavigateError?

You already know the answer to that, because you are already doing it..

>    ShowMessage(StatusCode->VInteger);
>    // This code is HRESULT Status Codes (0x800C....L), not
> HTTP Status Codes (4.., 5..).

You don't have any choice in what type of codes are returned to you.  As the
reference states, the NavigateError can return HRESULT codes as well as HTTP
codes.  You just happen to see it return HRESULT codes in your code.  You
iwll just haveto use whatever values are given to you.


Gambit
Technical Details
Message-ID: <4152889f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41526ba9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,551484b06c33772d
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41526ba9@newsgroups.borland.com>
Subject: Re: NavigateError
Date: Thu, 23 Sep 2004 01:24:45 -0700
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4152889f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095927967 68.69.17.41 (23 Sep 2004 01:26:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail