X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C040E329DFC for ; Mon, 13 Sep 2004 09:52:41 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99750-08 for ; Mon, 13 Sep 2004 08:52:36 +0000 (GMT) Received: from web13921.mail.yahoo.com (web13921.mail.yahoo.com [66.163.176.46]) by svr1.postgresql.org (Postfix) with SMTP id 66523329DB0 for ; Mon, 13 Sep 2004 09:52:36 +0100 (BST) Message-ID: <20040913085500.43096.qmail@web13921.mail.yahoo.com> Received: from [210.187.105.130] by web13921.mail.yahoo.com via HTTP; Mon, 13 Sep 2004 01:55:00 PDT Date: Mon, 13 Sep 2004 01:55:00 -0700 (PDT) From: Adrian Chew Subject: having problem connecting to postgreSQL v7.5. To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1964659001-1095065700=:43078" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200409/14 X-Sequence-Number: 5089 --0-1964659001-1095065700=:43078 Content-Type: text/plain; charset=us-ascii 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. --0-1964659001-1095065700=:43078 Content-Type: text/html; charset=us-ascii

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. --0-1964659001-1095065700=:43078--