🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy and SSL

#130
From: Remy Lebeau (TeamB)
Date: Thu, 29 May 2008 16:41
45 lines
2286 bytes
"Oleg Tiktinski" <oleg@sequoiars.com> wrote in message 
news:483e0ba1$1@newsgroups.borland.com...

> Please excuse my stupidity, but it's not defined in any header file.

Yes, it is - IdSSLOpenSSL.hpp.

> I found this function only in IdSSLOpenSSL.pas

It is declared in the 'interface' section, so it will be included in the 
generated .hpp header file.

> I.e. call  Idsslopenssl::LoadOpenSLLibrary(); will not work
> since it's not part of  Idsslopenssl namespace.

It is present in my copy of Indy 10:

    --- IdSSLOpenSSL.hpp ---

    namespace Idsslopenssl
    {
    //...
    extern PACKAGE bool __fastcall LoadOpenSSLLibrary(void);
    //...
    }

Make sure you are using an up-to-date version.

> I tried :
>
> extern PACKAGE bool __fastcall LoadOpenSLLibrary(void);
>
> void function()
> {
>  LoadOpenSLLibrary();
> }
>
> it's ok for compiler, but linker failing on it.

Check your spelling.  You are missing an 'S' in the name.  And you have to 
include the namespace so the name is mangled properly.


Gambit 
Technical Details
Message-ID: <483edd02$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <483cc31b$1@newsgroups.borland.com> <483daa9d$1@newsgroups.borland.com> <483dcfae$1@newsgroups.borland.com> <483dd005$1@newsgroups.borland.com> <483dd3e1$1@newsgroups.borland.com> <483de3f3$1@newsgroups.borland.com> <483e0ba1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a02f5e13cae23a18
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <483cc31b$1@newsgroups.borland.com> <483daa9d$1@newsgroups.borland.com> <483dcfae$1@newsgroups.borland.com> <483dd005$1@newsgroups.borland.com> <483dd3e1$1@newsgroups.borland.com> <483de3f3$1@newsgroups.borland.com> <483e0ba1$1@newsgroups.borland.com>
Subject: Re: Indy and SSL
Date: Thu, 29 May 2008 09:41:47 -0700
Lines: 47
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <483edd02$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1212079362 207.178.157.90 (29 May 2008 09:42:42 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 2136