Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi XE5 Indy SSl


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Jan 27, 2015 9:50 AM Last Post By: Remy Lebeau (Te...
Wayne Loeppky

Posts: 52
Registered: 7/4/02
Delphi XE5 Indy SSl  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2015 12:54 PM
Moved application from Delphi XE to XE5, using TidHttp to post xml using SSL. Works fine in Delphi XE compiled version. With Delphi XE5 compiled getting unable to load SSL library. Were there changes to the Indy code that requires more updated versions of ssleay32.dll and libeay32.dll?

Thanks Wayne.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Delphi XE5 Indy SSl  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2015 1:00 PM   in response to: Wayne Loeppky in response to: Wayne Loeppky
Wayne wrote:

Moved application from Delphi XE to XE5, using TidHttp to post xml
using SSL. Works fine in Delphi XE compiled version. With Delphi XE5
compiled getting unable to load SSL library.

Did you try calling Indy's IdSSLOpenSSLHeaders.WhichFailedToLoad() function
to see why it failed?

Were there changes to the Indy code that requires more updated versions
of ssleay32.dll and libeay32.dll?

Very likely, yes.

--
Remy Lebeau (TeamB)
Wayne Loeppky

Posts: 52
Registered: 7/4/02
Re: Delphi XE5 Indy SSl  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2015 8:42 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:
Wayne wrote:

Moved application from Delphi XE to XE5, using TidHttp to post xml
using SSL. Works fine in Delphi XE compiled version. With Delphi XE5
compiled getting unable to load SSL library.

Did you try calling Indy's IdSSLOpenSSLHeaders.WhichFailedToLoad() function
to see why it failed?

Were there changes to the Indy code that requires more updated versions
of ssleay32.dll and libeay32.dll?

Very likely, yes.

--
Remy Lebeau (TeamB)

I found newer versions of the 2 dll's and that resolved the issue. I did not use that function, but will remember for next time. Thank you.

Have run into a second issue now where the XML sent has all the "<">" symbols converted to ASCII, "%3C" and "%3E". Looked around for a while and cannot see where I can change that. Is that something new in Delphi XE5. Somewhere it must be changing the encoding but cannot find it. Am I missing something?

Thanks.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Delphi XE5 Indy SSl  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 27, 2015 9:50 AM   in response to: Wayne Loeppky in response to: Wayne Loeppky
Wayne wrote:

Have run into a second issue now where the XML sent has all the "<">" symbols converted to ASCII, "%3C" and "%3E".

That would only happen if you are Post()'ing the XML using a TStrings objct.
You can't post XML that way, you have to use a TStream object instead.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02