🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3868

IDURI??

#3868
From: federico
Date: Fri, 10 Jun 2005 15:46
24 lines
2020 bytes
Hi, I'm trying to use the IdURI of Indy, but I have some troblues.
-first I'm not exactly sure how to declare an object of this class,  It 
wasnt on the pallet, but thats ok, I  declared an object like this :
TIdURI *something ; (if I did TIdURI something it will tell me a bad 
declaration err so I did it that way),

then when I try to do something->URLEncode(Edit->Text)
I got the following  errors:

[C++ Error] mess.cpp(62): E2034 Cannot convert 'AnsiString' to 'TMetaClass 
*'
[C++ Error] mess.cpp(62): E2342 Type mismatch in parameter 'vmt' (wanted 
'TMetaClass *', got 'AnsiString')
[C++ Error] mess.cpp(62): E2192 Too few parameters in call

And well on the documentation it says that the function headers are like 
this:

 function URLDecode(psSrc: string)

so I'm not pretty sur ewhat did I missdid or what I did wrong, I'll 
apriciate any help, I have been looking for doc on this but couldnt find any 
beside the indy doc.
Thanx for any help! 
Technical Details
Message-ID: <42a9b5da@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8b3996f72d0ad02d,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "federico" <federico@sandiasazules.com>
From: "federico" <federico@sandiasazules.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: IDURI??
Date: Fri, 10 Jun 2005 09:46:34 -0600
Lines: 26
Organization: sandiasazules.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 200.91.100.145
Message-ID: <42a9b5da@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1118418394 200.91.100.145 (10 Jun 2005 08:46:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail