Article View: borland.public.cppbuilder.internet.web
Article #543Re: URLEncode
From: Remy Lebeau (TeamB)
Date: Mon, 13 Mar 2006 21:30
Date: Mon, 13 Mar 2006 21:30
14 lines
1277 bytes
1277 bytes
"Hamid" <hrz_mir@Yahoo.com> wrote in message
news:4415301a$1@newsgroups.borland.com...
> How can I encode a uri using a TIdURI class? The C++Builder
> version of the URLEncode function wants a Metaclass object that
> I can not understand what it is?
You need to use the __classid compiler keyword:
AnsiString url = uri->URLEncode(__classid(TIdURI), "the uri here");
Gambit
Technical Details
Message-ID:
<4415e429$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4415301a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,9d159ea63ec27d7 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: <4415301a$1@newsgroups.borland.com> Subject: Re: URLEncode Date: Mon, 13 Mar 2006 13:30:31 -0800 Lines: 16 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: <4415e429$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1142285353 68.69.17.41 (13 Mar 2006 13:29:13 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail