Article View: borland.public.cppbuilder.internet.socket
Article #964Re: Problem using TIdFTP in C++ Builder 2007. List() doesn't work
From: Star
Date: Mon, 23 Jul 2007 14:43
Date: Mon, 23 Jul 2007 14:43
33 lines
2521 bytes
2521 bytes
>> I think it would be easier if you could specify the >> parser by code instead of adding header files... > > Well, that is what happens when you use a header file - you are specifying > in code what you want to use. I just think it's not very intuitive. It would be easier to have a property where you can specify the list of parsers that you are insterested instead of having big list of header files included in your project. > You haven't said what is not actually working. So I am assuming that the > Count is still returning 0? If so, then either the parsers are not being > registered correctly at program startup, or else you are simply retreiving a > listing that there is no parser available for. Yes, the count is 0. I don't know what else to try. It seems pretty straightforward. You saw my code. There is nothing else. In that example I'm retrieving data from the borland site. I would be surprised that there is not a parser for that. >> void __fastcall TForm1::FormCreate(TObject *Sender) > > DO NOT use the OnCreate event in C++! It is a Delphi idiom that can produce > illegal behavior in C++, as it ican be triggered before the constructor in > run. Use the actual constructor instead, or else wait until after the form > is fully constructed. Ok, I put my code in a different place but still doesn't work. Thanks for your help.
Technical Details
Message-ID:
<46a4bea5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46a108f5$1@newsgroups.borland.com> <46a11115$1@newsgroups.borland.com> <46a11619$1@newsgroups.borland.com> <46a15625$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f37f99fb538f42a3 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 23 Jul 2007 10:43:04 -0400 From: Star <noemai@noemail.com> User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Problem using TIdFTP in C++ Builder 2007. List() doesn't work References: <46a108f5$1@newsgroups.borland.com> <46a11115$1@newsgroups.borland.com> <46a11619$1@newsgroups.borland.com> <46a15625$1@newsgroups.borland.com> In-Reply-To: <46a15625$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 70.91.64.254 Message-ID: <46a4bea5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1185201829 70.91.64.254 (23 Jul 2007 07:43:49 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 2378