Article View: borland.public.cppbuilder.internet.socket
Article #131Re: Indy and SSL
From: Oleg Tiktinski
Date: Thu, 29 May 2008 18:20
Date: Thu, 29 May 2008 18:20
52 lines
2542 bytes
2542 bytes
I am using version which came with CodeGear 2007
I guess, that may be an issue. Sooo, should I just download new version
of Indy ?
Remy Lebeau (TeamB) wrote:
> "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:
<483ef3e4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<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> <483edd02$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 Date: Thu, 29 May 2008 11:20:22 -0700 From: Oleg Tiktinski <oleg@sequoiars.com> User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Indy and SSL 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> <483edd02$1@newsgroups.borland.com> In-Reply-To: <483edd02$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.4.183.142 Message-ID: <483ef3e4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1212085220 69.4.183.142 (29 May 2008 11:20:20 -0700) Lines: 52 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail