🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1920

Exception class EIdOSSLCouldNotLoadSSLLibrary (Indy 9.0.50)

#1920
From: Hans Galema
Date: Fri, 06 Oct 2006 11:05
31 lines
1793 bytes
Got this exception:
// First chance exception at $7C81EB33.
// Exception class EIdOSSLCouldNotLoadSSLLibrary with message
// 'Could not load SSL library.'.
// Process OpenSSLIndy9.exe (3164)

The German magazine 'Der Entwickler' 6.06 offers some exercises with
OpenSLL for C++Builder. I use Turbo C++ Explorer with Indy 9.0.50.

The first exercise using raw sockets went ok.

The second exercise uses Indy with a TIdHTTP and a TIdSSLIOHandlerSocket.

For the latter I have:

#include <IdSSLOpenSSL.hpp>  // for TIdSSLIOHandlerSocket
#include <IdHTTP.hpp>

and added IdHTTP.pas to the project

Compiling and linking are ok. But at runtime I got above
exeption at IdHTTP->Connect();

Unfortunately the message does not tell which file/path could not be found.

Are they libeay32.dll or ssleay32.dll? Well they are in the
same directory as the .exe. (More over they are in system32).

What is exactly missing?

Hans.
Technical Details
Message-ID: <452638cc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,997613c5798fd0ad,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 06 Oct 2006 13:05:58 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Exception class EIdOSSLCouldNotLoadSSLLibrary (Indy 9.0.50)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <452638cc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160132812 145.98.201.248 (6 Oct 2006 04:06:52 -0700)
Lines: 37
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail