Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: SSL Problem

www.cryer.info
Managed Newsgroup Archive

Re: SSL Problem

Subject:Re: SSL Problem
Posted by:"MrT" (conta..@heat-mi.org)
Date:Wed, 4 Apr 2007 15:02:14

Hi:

  Strange.   I put the block to call the function in the Indy file
first.

I captured the message in a string and displayed in ShowMessage(). the
load call I set the string to "Load Library OK" . When I ran on my
development machine I shows to OK message. When run on deployed machine
it shows "Could not load SSL library" so clearly this came from the
function call or else it would still  display LoadLibrary OK.

I copied the block that calls WhichFailedToLoad and placed that in the
main form create. Ran fine on my development machine but same error in
deployed machine. That rules out a timing problem.

Like I stated in my original message, after the failure message, when I
click the cancel button on my app and resend then it loads the library
fine with no error message.

One additional piece of information:

After closing app on a failed load, I get 216 runtime AV probably from
trying to access the library. Not sure though.

Is there any compiler switch that I could have inadvertently set which
could cause such a thing? The old executable which is same code with
small unrelated change works fine with no errors.


Remy Lebeau (TeamB) wrote:
> "MrT" <contact@heat-mi.org> wrote in message
> news:4613c331@newsgroups.borland.com...
>
>>     Is WhichFailedToLoad  supposed to return any details?
>
> It returns exactly which DLL functions failed to be loaded.
>
>> I got message SSL Library failed to load.
>
> That is not a message that WhichFailedToLoad() returns.
>
>
> Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive