Article View: borland.public.cppbuilder.internet.socket
Article #5234Indy 10 .Net only ErrorMessage - no ErrorCode
From: John Miles
Date: Fri, 24 Sep 2004 06:57
Date: Fri, 24 Sep 2004 06:57
18 lines
1345 bytes
1345 bytes
i have the following VS.Net C++ CodeSnippet which uses Indy.Net (managed):
try
{
IndyServer->Connect()
}
catch(EIdException *e)
{
e->Message;
}
in e->Messsage i only get connection error messages as string, but i want
also the errorcodes. In Indy 9
the error messages looks like this "#10001 Something is wrong". So how can i
get this (#10001) error codes
in Indy 10 .Net.
Thanks.
Technical Details
Message-ID:
<4153c553$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b7250ece2f8eb434,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "John Miles" <johnmiles@gmx.de> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Indy 10 .Net only ErrorMessage - no ErrorCode Date: Fri, 24 Sep 2004 08:57:27 +0200 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 80.145.42.138 Message-ID: <4153c553$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096009043 80.145.42.138 (23 Sep 2004 23:57:23 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail