having problem connecting to postgreSQL v7.5.

From: Adrian Chew <togusan(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: having problem connecting to postgreSQL v7.5.
Date: 2004-09-13 08:55:00
Message-ID: 20040913085500.43096.qmail@web13921.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


Hi, I'm having problems trying to connect to the postgresql 7.5 using libpg. I'm developing on the windows platform and using visual c++ 6.0 compiler. I've set the parameters for library path to :

C:\program files\postgresql\7.5\lib

and the include path to:

C:\program files\postgresql\7.5\include

The file "libpq.dll" has been included to the library modules. Everytime I tried to connect to my sample program I get an error

C:\program files\postgresql\7.5\lib\libpq.dll : fatal error LNK1136: invalid or corrupt file.

Could anyone please help. thanks.


---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

Browse pgsql-interfaces by date

  From Date Subject
Next Message =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= 2004-09-13 21:16:08 [PATCH] add notice processor to DBD::Pg
Previous Message Bruce Momjian 2004-09-10 23:58:14 Re: Adding null values to arrays