Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Nov : Indy 10 exceptions

www.cryer.info
Managed Newsgroup Archive

Indy 10 exceptions

Subject:Indy 10 exceptions
Posted by:"A. Stroebel" (an..@ascomp.de)
Date:Fri, 24 Nov 2006 09:38:47

Hello,

up to Indy 9 I handled exception with a try...except block like this:

try
    IdFTP.Put(BkmFileComplete, FTPFileName, false);
except
   ShowMessage('Didn''t work');
end;

With Indy 10 any exceptions/errors will be thrown automatically and the
except block won't be called anymore. How can I get it working like before
(just handle exceptions with the try...except and not by Indy itself)?

Thanks!

A. Stroebel

Replies:

www.cryer.info
Managed Newsgroup Archive