[Lazarus] Fwd: Re: Trouble with PostGres access
Alex du Plessis
alexdup01 at telkomsa.net
Sat Mar 21 07:00:19 CET 2009
Andrew Brunner wrote:
> ---------- Forwarded message ----------
> From: Andrew Brunner <andrew.t.brunner at gmail.com>
> Date: 2009/3/20
> Subject: Re: Re: [Lazarus] Trouble with PostGres access
> To: Arí Ricardo Ody <ari.ody at japinfo.com.br>
>
>
> I suspect that the fact that you have an old SSLEAY32.DLL is your
> problem. I can't find any mention of the Easy SSL project anymore.
> Can anyone else contribute? Where can we get the latest and greatest
> 32bit Windoze DLLs for SSL that this component is using? Is
> openssl.org the place?
>
> 2009/3/20 Arí Ricardo Ody <ari.ody at japinfo.com.br>:
>
>> Here it is.
>>
>> Thanks for your efforts.
>>
>> At 15:33 20/3/2009, you wrote:
>>
>>> So the problem is apparently with a mismatch of parameters being used
>>> from the SSL Lib and the PostgreSql component.
>>>
>>> Not much you can fix. It's probably a dev issue. Next find the DLL
>>> and right click - properties - what version of SSLEay32.dll are you
>>> working with?
>>>
>>> 2009/3/20 Arí Ricardo Ody <ari.ody at japinfo.com.br>:
>>>
>>>> Look the attached module
>>>>
>>>> At 15:13 20/3/2009, you wrote:
>>>>
>>>>> Ok, what does it say if you do that @ runtime... ie.) Just on show set
>>>>> to true...
>>>>>
>>>>> 2009/3/20 Arí Ricardo Ody <ari.ody at japinfo.com.br>:
>>>>>
>>>>>>> Sorry, you wrote SSLEasy in your first e-mail. Well, I download and
>>>>>>> copy
>>>>>>> ssleay32 to directory where my application is.
>>>>>>>
>>>>>>> Look what happens when I try change the connected property to true
>>>>>>> for
>>>>>>> the
>>>>>>> PQConnection in the attached file.
>>>>>>>
>>>>
>>>>
>>
>>
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
I am running a Postgres 8.3 db and I find no problems to connect,query
and post to it. However, I copied all the DLL's from the postgres bin
directory(i.e. C:\Program Files\PostgreSQL\8.3\bin) into my application
directory i.e. where the exe file resides. I also distribute these
files in the exe directory when I deploy the application.
I think the other directory to install them would be C:\WINDOWS\system32
HTH
Alex
More information about the Lazarus
mailing list