Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Delphi 2007 - Indy 10 - TidHttp - IOHandler value is not valid error

www.cryer.info
Managed Newsgroup Archive

Delphi 2007 - Indy 10 - TidHttp - IOHandler value is not valid error

Subject:Delphi 2007 - Indy 10 - TidHttp - IOHandler value is not valid error
Posted by:"Kevin Frevert" (kev..@workdrinkingicewater)
Date:Tue, 4 Dec 2007 09:23:19

After upgrading from D6 (Indy 9) to Delphi 2007 (default Indy 10
components), and attempting to send/receive (xml) data from a secured site
(https) I received the error/exception 'IOHandler value is not valid'.

OK, I searched around and find out I need a 'Handler' component, which I did
not need before (code has gone unchanged since 2004)

I try out TIdServerIOHandlerSSLOpenSSL (no changes to the component) and
when I attempt again, I receive the error/exception 'Socket Error # 11004'

I went as far as downloading the OpenSSL dlls and placing them in the
application's directory, same error.

A bit frustrating to say the least.

Is there a workaround?  What's the trick in using the TidHttp component
against https sites?  Has Indy feature-creeped itself into obscurity and
it's time to use something else?

Thanks for any info,
krf

Replies:

www.cryer.info
Managed Newsgroup Archive