Article View: borland.public.cppbuilder.internet.socket
Article #1767Re: Indy9 - BCB5 - FTP server - access violation errors
From: Hanne B
Date: Thu, 09 Nov 2006 07:50
Date: Thu, 09 Nov 2006 07:50
35 lines
2095 bytes
2095 bytes
"Hans Galema" <notused@notused.nl> wrote in message
news:4551f425$1@newsgroups.borland.com...
> Hanne B wrote:
>
>> How do I disconnect the client if the above cannot be used ?
>
> Don't know. But you could catch the AV and neglect it.
>
> try
> {
> AThread->Connection->Disconnect();
> }
> catch ( Exception &Exception )
> {
> // do nothing
> }
>
> (You know to run this outside the IDE? Otrherwise you will still
> see the exception).
>
> Hans.
>
I have tried (try ... catch) but it doesn't help because it is not the
statement that has the error - it is something that happens in the Indy code
after the statement is executed.
I don't know exactly what you mean by the sentence "You know to run this
outside the IDE? Otherwise you will still see the exception" ?
Is it that I should run thg generated program (exe file) instead of use run
in BCB5 ?
Hanne
Technical Details
Message-ID:
<4552dde0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4551ac92@newsgroups.borland.com> <4551ad3e$1@newsgroups.borland.com> <4551ba0d$1@newsgroups.borland.com> <4551be9b$1@newsgroups.borland.com> <4551ef09@newsgroups.borland.com> <4551f425$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,942ca0ee33498431 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Hanne B" <hb@aeromark.dk> From: "Hanne B" <hb@aeromark.dk> Newsgroups: borland.public.cppbuilder.internet.socket References: <4551ac92@newsgroups.borland.com> <4551ad3e$1@newsgroups.borland.com> <4551ba0d$1@newsgroups.borland.com> <4551be9b$1@newsgroups.borland.com> <4551ef09@newsgroups.borland.com> <4551f425$1@newsgroups.borland.com> Subject: Re: Indy9 - BCB5 - FTP server - access violation errors Date: Thu, 9 Nov 2006 08:50:55 +0100 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 83.91.195.110 Message-ID: <4552dde0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163058656 83.91.195.110 (8 Nov 2006 23:50:56 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail