Andrew Brunner wrote: > ---------- Forwarded message ---------- > From: Andrew Brunner <[email protected]> > Date: 2009/3/20 > Subject: Re: Re: [Lazarus] Trouble with PostGres access > To: Arí Ricardo Ody <[email protected]> > > > 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 <[email protected]>: > >> 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 <[email protected]>: >>> >>>> 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 <[email protected]>: >>>>> >>>>>>> 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 > [email protected] > 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 _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
